<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/form</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 06 Sep 2008 19:52:26 GMT</pubDate>
<item>
<title>(JavaScript) submitEvents - Javascript form submission handler - dom111</title>
<link>http://snipplr.com/view/7865/submitevents--javascript-form-submission-handler/</link>
<description><![CDATA[ <p>Requires Mootools 1.2
http://mootools.net/download

Based on the mootools javascript framework a re-usable class for easily implementing an array of on submit events.

* Confirmation - Provides an Ok, Cancel input box before proceeding further
* Submit Button - Disable and change the text on a submit button
* Information Div - Display a div that lets the user know something is happening
* Undo - Undo the changes (re-enable a previously disabled submit button, change the information div) that have been carried out by the class
* AJAX - Submit the form using AJAX instead of the ‘old fashioned’ way

This work is released under the creative commons share alike license.

Requires Mootools 1.2
http://mootools.net/download</p> ]]></description>
<pubDate>Wed, 13 Aug 2008 21:10:57 GMT</pubDate>
<guid>http://snipplr.com/view/7865/submitevents--javascript-form-submission-handler/</guid>
</item>
<item>
<title>(JavaScript) Form value 'cleaner' - jeppeb</title>
<link>http://snipplr.com/view/6643/form-value-cleaner/</link>
<description><![CDATA[ <p>When there's a value in a textbox, like 'search', it disappears when you click on it, and reappears when you leave (blur) it. But only if you haven't filled in anything ofcourse.
Use it like this:</p> ]]></description>
<pubDate>Tue, 10 Jun 2008 10:49:35 GMT</pubDate>
<guid>http://snipplr.com/view/6643/form-value-cleaner/</guid>
</item>
<item>
<title>(JavaScript) submit a form with an anchor tag (link) - jachin</title>
<link>http://snipplr.com/view/5911/submit-a-form-with-an-anchor-tag-link/</link>
<description><![CDATA[ <p>Name the form what ever you like, but make sure that is reflected in the javascript.</p> ]]></description>
<pubDate>Fri, 18 Apr 2008 16:25:10 GMT</pubDate>
<guid>http://snipplr.com/view/5911/submit-a-form-with-an-anchor-tag-link/</guid>
</item>
<item>
<title>(JavaScript) Search field content control - wfdev</title>
<link>http://snipplr.com/view/5654/search-field-content-control/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 02 Apr 2008 07:14:37 GMT</pubDate>
<guid>http://snipplr.com/view/5654/search-field-content-control/</guid>
</item>
<item>
<title>(JavaScript) validación de formularios - betacontinua</title>
<link>http://snipplr.com/view/5253/validacin-de-formularios/</link>
<description><![CDATA[ <p>Para realizar validaciones en Javascript rápidamente. Requiere que en la etiqueta  metamos un onSubmit="return checkform(this);" . Este trozo de código es para dos campos input con nombres campo1 y campo2.</p> ]]></description>
<pubDate>Mon, 03 Mar 2008 03:05:49 GMT</pubDate>
<guid>http://snipplr.com/view/5253/validacin-de-formularios/</guid>
</item>
<item>
<title>(JavaScript) Handling element focus with tab - elightbo</title>
<link>http://snipplr.com/view/4282/handling-element-focus-with-tab/</link>
<description><![CDATA[ <p>This uses prototype to intercept tab focus and place it on a button (or any other element).  Firefox and Safari will bypass the button when tabbing through a form.  Useful for buttons after textareas.</p> ]]></description>
<pubDate>Fri, 07 Dec 2007 16:34:46 GMT</pubDate>
<guid>http://snipplr.com/view/4282/handling-element-focus-with-tab/</guid>
</item>
<item>
<title>(JavaScript) jquery: simule z-index to place divs over select objects (explorer bug) - victorchamorro</title>
<link>http://snipplr.com/view/4134/jquery-simule-zindex-to-place-divs-over-select-objects-explorer-bug/</link>
<description><![CDATA[ <p>using bgiframe to solve a bug in explorer: you cannot apply z-index to place divs over selects in a form!!!</p> ]]></description>
<pubDate>Wed, 14 Nov 2007 11:27:40 GMT</pubDate>
<guid>http://snipplr.com/view/4134/jquery-simule-zindex-to-place-divs-over-select-objects-explorer-bug/</guid>
</item>
<item>
<title>(JavaScript) Alert entire contents of form - scriptmakingcom</title>
<link>http://snipplr.com/view/3698/alert-entire-contents-of-form/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Sep 2007 22:35:54 GMT</pubDate>
<guid>http://snipplr.com/view/3698/alert-entire-contents-of-form/</guid>
</item>
<item>
<title>(JavaScript) How to switch the action field in an HTML form dynamically - scriptmakingcom</title>
<link>http://snipplr.com/view/3625/how-to-switch-the-action-field-in-an-html-form-dynamically/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 03 Sep 2007 14:55:11 GMT</pubDate>
<guid>http://snipplr.com/view/3625/how-to-switch-the-action-field-in-an-html-form-dynamically/</guid>
</item>
<item>
<title>(JavaScript) Focus and Select a Form Input - 1man</title>
<link>http://snipplr.com/view/3268/focus-and-select-a-form-input/</link>
<description><![CDATA[ <p>For forms with a default value onload you don't want your users to have to select the value, delete it and then insert their own input.

This function focuses on a selected input, then it selects the default text so the user can easily type their own value.</p> ]]></description>
<pubDate>Wed, 11 Jul 2007 05:51:26 GMT</pubDate>
<guid>http://snipplr.com/view/3268/focus-and-select-a-form-input/</guid>
</item>
<item>
<title>(JavaScript) Copy/repeat input form values - davaodude</title>
<link>http://snipplr.com/view/2410/copyrepeat-input-form-values/</link>
<description><![CDATA[ <p>Copy values from the first row of a column down the entire column.  This was used in a specific project, but the code could be helpful for other projects.</p> ]]></description>
<pubDate>Thu, 29 Mar 2007 11:40:00 GMT</pubDate>
<guid>http://snipplr.com/view/2410/copyrepeat-input-form-values/</guid>
</item>
<item>
<title>(JavaScript) Toggle specific row of checkboxes - davaodude</title>
<link>http://snipplr.com/view/2409/toggle-specific-row-of-checkboxes/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 29 Mar 2007 11:38:00 GMT</pubDate>
<guid>http://snipplr.com/view/2409/toggle-specific-row-of-checkboxes/</guid>
</item>
<item>
<title>(JavaScript) Confirm Submit - davaodude</title>
<link>http://snipplr.com/view/2408/confirm-submit/</link>
<description><![CDATA[ <p>Simple popup confirmation before submitting a form.</p> ]]></description>
<pubDate>Thu, 29 Mar 2007 11:35:56 GMT</pubDate>
<guid>http://snipplr.com/view/2408/confirm-submit/</guid>
</item>
<item>
<title>(JavaScript) Toggle all form checkboxes - davaodude</title>
<link>http://snipplr.com/view/2407/toggle-all-form-checkboxes/</link>
<description><![CDATA[ <p>Simple script to toggle (checked or not checked) all checkboxes on the page.</p> ]]></description>
<pubDate>Thu, 29 Mar 2007 11:28:27 GMT</pubDate>
<guid>http://snipplr.com/view/2407/toggle-all-form-checkboxes/</guid>
</item>
<item>
<title>(JavaScript) Destacar campo de formulario activo - luman</title>
<link>http://snipplr.com/view/1959/destacar-campo-de-formulario-activo/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 11 Jan 2007 11:37:11 GMT</pubDate>
<guid>http://snipplr.com/view/1959/destacar-campo-de-formulario-activo/</guid>
</item>
<item>
<title>(JavaScript) Javascript unobtrusive form checking with google zip code check - elightbo</title>
<link>http://snipplr.com/view/1511/javascript-unobtrusive-form-checking-with-google-zip-code-check/</link>
<description><![CDATA[ <p>No comments</p> ]]></description>
<pubDate>Wed, 01 Nov 2006 07:46:03 GMT</pubDate>
<guid>http://snipplr.com/view/1511/javascript-unobtrusive-form-checking-with-google-zip-code-check/</guid>
</item>
<item>
<title>(JavaScript) Clickable Form Labels for Safari and IE - prototype version - dertimbo</title>
<link>http://snipplr.com/view/1408/clickable-form-labels-for-safari-and-ie--prototype-version/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 14 Oct 2006 11:43:33 GMT</pubDate>
<guid>http://snipplr.com/view/1408/clickable-form-labels-for-safari-and-ie--prototype-version/</guid>
</item>
<item>
<title>(JavaScript) Clickable Form Labels for Safari and IE - dertimbo</title>
<link>http://snipplr.com/view/1407/clickable-form-labels-for-safari-and-ie/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 14 Oct 2006 11:41:20 GMT</pubDate>
<guid>http://snipplr.com/view/1407/clickable-form-labels-for-safari-and-ie/</guid>
</item>
<item>
<title>(JavaScript) form submit - gux</title>
<link>http://snipplr.com/view/1072/form-submit/</link>
<description><![CDATA[ <p>form submit trought javascript with funtionallity in iexplorer</p> ]]></description>
<pubDate>Thu, 14 Sep 2006 12:50:19 GMT</pubDate>
<guid>http://snipplr.com/view/1072/form-submit/</guid>
</item>
<item>
<title>(JavaScript) Use jQuery to validate form text - TC</title>
<link>http://snipplr.com/view/1059/use-jquery-to-validate-form-text/</link>
<description><![CDATA[ <p>Found on the jquery mailing list: http://jquery.com/discuss/2006-April/004625/
The url shows it in action, checking text when you move away from a field.</p> ]]></description>
<pubDate>Tue, 12 Sep 2006 00:22:48 GMT</pubDate>
<guid>http://snipplr.com/view/1059/use-jquery-to-validate-form-text/</guid>
</item>
</channel>
</rss>