jQuery <select> Manipulation, Multiple Selects with JSON, Set Defaults, Oh My

February 7th, 2009
The following examples cover some of the basics when working with a HTML element. Multiple selects, set multiple selects after post and set the default selected value on page load.
Read more on jQuery <select> Manipulation, Multiple Selects with JSON, Set Defaults, Oh My »

Copy Form Input Data to Another Input Field with jQuery

February 5th, 2009
This is a very simple example how to copy form input data to other form fields. This is useful when the same information entered can be used in other fields such as shipping and billing address forms.
Read more on Copy Form Input Data to Another Input Field with jQuery »

jQuery Show and Tell

January 8th, 2009
This jQuery code will slide up a hidden up on hover() and slide down the same on blur(). This script uses the jQuery UI visual control library.
Read more on jQuery Show and Tell »

Dynamic Javascript Variables

January 4th, 2009
To create dynamic variables in JavaScript use the eval() function. Of course eval() can be for other dynamic JavaScript creation as well. function dynamic(id) { // Create dynamic variable and set the value eval("var test_" + id + " = \"value goes here\";"); // Return the value return eval("test_" + id); } // Call function var test = dynamic(123); // Display the value document.write(test); Demo View a demo [...]
Read more on Dynamic Javascript Variables »

Show Partial Content, Slide Animate with jQuery

December 20th, 2008
This plugin will show a partial amount of content from a and allow the user to click a link from the title or a link at the bottom to view the rest of the content with a sliding action.
Read more on Show Partial Content, Slide Animate with jQuery »

Sponsors