[jQuery] Form Handling
[jQuery] Form Handling
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Arial;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:.6in .6in .6in .6in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Another
newbie question. I was looking at some cool form handling features of prototype
(about half-way down this article: <a
href="http://www.sitepoint.com/print/painless-javascript-prototype">http://www.sitepoint.com/print/painless-javascript-prototype</a>)
and was trying to figure out jQuery has similar features. I'm a little confused
– I see the form plugin referenced from <a
href="http://proj.jquery.com/plugins">http://proj.jquery.com/plugins</a> does
some of what I'm looking for (such as serialize), but it also looks like some (maybe
all?) of this functionality is already baked into the core jQuery library. Is this
just simply not documented yet? Is there a good current overview of the latest
built-in form handling features?<o:p></o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>2
specific functions of prototype that I think look particularly useful are
Form.Observer and Form.EventObserver. The former checks all form fields at a specified
periodic interval and calls a specified callback if anything changes. The
latter is similar only it listens for all relevant change events (onchange,
onclick) of all form fields rather than polling at intervals. Does the core
jQuery and/or an existing plugin have a similar feature? Sorry if I completely
missed it - I dug around a bit and didn't find anything.<o:p></o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Also,
until the new site is launched, is proj.jquery.com the place to go (rather than
jquery.com) for the most current info and documentation?<o:p></o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Thanks!<o:p></o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Todd<o:p></o:p></span></font>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font>
</div>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/