Posts Tagged ‘Javascript’
How to dynamically load the Google Maps javascript API (On demand loading)
Normally google maps js api is loaded at the time of page load via a script tag with src set. If map is not so major feature of your application ...
Getting and setting value of html elements using jQuery
If you have started using jQuery recently and you are used to DOM methods of getting and setting values for form and html elements, this article is for you.
Using jQuery ...
Collection of 10 top 10 lists about web development
I am a regular reader of web development articles and in this process bookmark a lot of them. Out of that collection I present to you a list of 10 ...
javascript : 7 tips for better coding
1- Use short hand notation for declaring arrays and objects
Arrays and objects are declared as following:
var someArray = new Array();
var someObject = new Object();
There is a shorthand notation for declaring ...
FAQ(Javascript) : User confirmation on close button of browser
Problem: On clicking the close button of browser ask for user confirmation with a custom message
Solution: Use the window.onbeforeunload method. This method expects a string value. This string will be ...
Changing font size on a page with javascript for better user experience
Today we will learn to add a simple functionality to web pages. Visitors on a web page will be able to increase or reduce the font size of text as ...
