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
Post a Comment