Calling JavaScript function from String
While creating the jQuery plugin for DIV TEXT BOX: Create orkut style status update box, I had a requirement where in I had to call a JavaScript function whose name is specified as a...
While creating the jQuery plugin for DIV TEXT BOX: Create orkut style status update box, I had a requirement where in I had to call a JavaScript function whose name is specified as a...
Performance tuning of any website involves lots of things to be taken care of. For example, compressing the output / response of the website increase the performance by significant folds. GZIp and Deflate compression...
Maxlength of Textarea Update: The maxlength plugin is now managed at GitHub. Please contribute to make this plugin more awesome. GitHub: https://github.com/viralpatel/jquery.maxlength Setting up maxlength of input text are easy. Just an attribute maxlength=”##”...
Nowadays, Web 2.0 has became a buzz word on internet. Lot of websites that you browser have that “rich” user interface with jazzy fonts and logos and ajax/javascript effects. AJAX has really changed the...
A lot of times we have requirement to do some stuff like invalidating session whenever user clicks browser close button thereby invoking close event in browser. Let us see how to achieve this using...
Few days back I was working on a requirement where in a webpage one table was getting populated through AJAX. This table was getting refreshed every 5 mins as it was showing some real...
Problem in changing flash (swf) file location in embed or param tag using JavaScript Manipulating the DOM (Document Object Model) using JavaScirpt is known to all. Changing the src attribute of the img (Image...
Want to populate dynamically combobox-listbox-drop-down using javascript? Let us see a very simple script to do this. First let us see createElement() of document object in javascript. Thus, createElement method takes a parameter which...
Usually AJAX requests are send through GET method. This is because there are few parameters that one send while sending a request through AJAX and also it is relatively easy to create and send...
You must have seen orkut style status update box where in the details can be modified by clicking on it. Once user click the details, details gets populated inside a textbox and an update...