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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -