fbpx
40 C
Lahore
- Advertisement -spot_img

TAG

Javascript

Best resources to learn Angular2+

https://codecraft.tv/courses/angular/

Best Websites to Learn Javascript

https://github.com/getify/You-Dont-Know-JS

Understanding prototypes in javascript

http://yehudakatz.com/2011/08/12/understanding-prototypes-in-javascript/ https://www.pluralsight.com/blog/software-development/understanding-javascript-prototypes https://javascriptweblog.wordpress.com/2010/06/07/understanding-javascript-prototypes/

Angular.js How to remove hash from url?

Configuration: $locationProvider .html5Mode(true); .htaccess file in root directory: RewriteEngine On # If an existing asset or directory is requested go to it as it is ...

How to Change Bootstrap Carousel Slide Speed

The speed cannot be controlled by the API. Though you can modify CSS that is in charge of that. find in the bootstrap.css file: .carousel-inner...

Cordova: How to download file and get download progress?

var assetURL = 'http://www.anywebsite.com/test.mp3'; var store = cordova.file.externalRootDirectory; // output in android: file:///storage/emulated/0/ // or // var store = "cdvfile://localhost/persistent/"; var fileName = 'Sounds/test.mp3'; // NOTE: Sounds folder should...

Cordova: How to get list of all Files/Directories in a directory?

function success(entries) { var i; for (i=0; i<entries.length; i++) { console.log('En...

Cordova: How to create directory?

/* ############ # Method 1 # ############ */ // output in android: file:///storage/emulated/0/ var base_url = cordova.file.externalRootDirectory; // or // var base_url = "cdvfile://localhost/persistent/"; var new_directory = 'TEST'; // To Create a sub...

How to get Base64Image from input type file?

<input type="file" id="user_img_input" onchange="upload_user_img(this);" /> <img src="" id="img" /> <script> function setBase64Image(object, img_id) { if ( object.files && object.files ) { ...

How to access Query String Values using Javascript?

Following function is very useful to easily access url paramters ( query string values). function getParameterByName(name, url) { if (!url) url =...

Latest news

- Advertisement -spot_img