How to code a given jquery into a javascript? -


i new phonegap.so,using javascript first time.i working in javascript. comfortable working java script. implementing plugin sms in phone gap.

in tutorial have asked use following code.

window.plugins.sms.send($('#phone').val(),  $('#message').val(),  function () {     alert('message sent successfully');   }, function (e) {     alert('message failed:' + e); } ); 

could 1 me out in de-coding jquery code?

please me out.

you can use document.getelementbyid('phone').value instead of $('#phone').val() element's value without jquery.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -