[jQuery] Getting form element values?
Hi, just a newbie side-question, that may help me... others.
Is JQuery an *alternative* to Prototype?
Or could *both* JQuery and Prototype be used?
Thanks.
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On
Behalf Of Matthew Pennell
Sent: Tuesday, July 25, 2006 4:31 AM
To: discuss@jquery.com
Subject: [jQuery] Getting form element values?
Hi,
Just evaluating jQuery as an alternative to Prototype at work, and one
thing I've found is that there doesn't seem to be a jQuery way to grab
the values of form elements?
In Prototype I would do $('my_input').value, but obviously the jQuery
$ function doesn't return regular objects - is there another way of
doing this that I've missed, or do you have to go back to
document.getElementById('my_input').value if you want form values?
Cheers,
Matthew.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/