Showing: 11 - 20 of 20 Articles

jquery does not executed issue

I think you might have written jquery.min.js and jquery.mobile-1.4.5.min.js after your .js file. example: <script type=”text/javascript” src=”js/yourfile.js”></script> <script src=”js/jquery.mobile-1.4.5.min.js”></script> <script src=”js/jquery.min.js”></script> above code is worng code, you must write jquery.min.js and jquery.mobile-1.4.5.min.js before your .js file. correct code is: <script src=”js/jquery.mobile-1.4.5.min.js”></script> <script src=”js/jquery.min.js”></script> <script type=”text/javascript” …

Show progress for ongoing download phone-gap application

Here the example for showing progress of ongoing download file. You need below line in your .html file: <div id=”status”></div> You need to write below code in your javascript file: var fileTransfer = new FileTransfer(); fileTransfer.onprogress = function(progressEvent) { if (progressEvent.lengthComputable) { var perc = …

Download & Store files in documents directory iOS phone-gap application

Hello, Here is the code for download and store files in document directory ios phone-gap app. var fileTransfer = new FileTransfer(); fileTransfer.download( uri, filePath, function(entry) { alert(“download complete: ” + entry.toURL()); } }, function(error) { alert(“download error source ” + error.source); alert(“download error target ” …

Jquery – TreeGrid from HTML table.

For that I used below jquery plugin for using that follow below simple steps Step 1. Initialize plugin (Download JS and CSS file from given reference link and add into your project) <script type=”text/javascript” src=”js/jquery.js”></script> <script type=”text/javascript” src=”js/jquery.treegrid.js”></script> <link rel=”stylesheet” href=”css/jquery.treegrid.css”> <script type=”text/javascript”> $(‘.tree’).treegrid(); </script> …