html { -webkit-user-select: none; }
phone-gap
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” …
ChangePage jquery issue
You need to integrate jquery.mobile.flatui.css in your .html file. You just need to write below line of code your .html file <link rel=”stylesheet” type=”text/css” href=”css/jquery.mobile.flatui.css”/> jquery-mobile-flatui
Video height issue when set src from local storage
Hi, When you set video src from local storage, then please don’t load again that video tag. see below example for reference. $(‘#my-video’).html(”); var srcPath = cordova.file.documentsDirectory + FileName; $(‘#my-video’).html(‘<source src=’+srcPath+’ type=”video/mp4″></source>’ ); $(‘#my-video’).load(); so you need to remove last line, then your code would …
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 = …
Dynamic data binding in table phone-gap app
When you add data dynamically in table, You have to “refresh” table after data append otherwise it does not display data in table. Simple you need to write following line in your java-script file. $(“#your_table_id”).table(“refresh”);