Hm, spiffy. If I wanted to get an element that didn't have an ID, I
should be able to do that with something like:
$('[EMAIL PROTECTED]"myfield"]').val();
Right? What about multi-value fields like select boxes or radio button sets?
--
Larry Garfield
On Fri, August 11, 2006 10:25 am, Andy Matthews said:
> jQuery has great ways to interact with forms built right in.
>
> $('#formfieldID').val() gets the value
> $('#formfieldID').val(someVar) sets the value
>
> Those are just the two basics. There's loads more built in.
>
> <!----------------//------
> andy matthews
> web developer
> certified advanced coldfusion programmer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --------------//--------->
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Larry Garfield
> Sent: Friday, August 11, 2006 10:14 AM
> To: [email protected]
> Subject: [jQuery] jQuery form handling
>
>
> Hey folks. I'm evaluating jQuery for my company, and have a few questions
> that I've not been able to find answers to in the Docs on the site yet.
>
> The major question I have is about form handling. Specifically, does
> jQuery (either core or a well-supported plugin) provide functions to
> easily manage forms? By manage, I mean things like pulling values out,
> setting or changing form values programmatically, attaching events in a
> browser-independent way (Safari and events are eeeevil, IME), validation
> rules, etc. Compound form elements (date pickers, time pickers, drag-drop
> ordering of elements in a multi-select box, etc.) are good, too.
>
> Where does jQuery stand on these? I'm hoping well, but am not sure
> presently. :-) Thanks.
>
> --
> Larry Garfield
>
>
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/