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.
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.
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.
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 [...]
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.









