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