jQuery element variable doesn't seem to be accessible?
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-06-18T12:51:42Z
Indexed on
2010/06/18
12:53 UTC
Read the original article
Hit count: 174
So I get a set of form elements that I want to extract the values from, by using
var inputs = $("input.row_2");
inputs[0].val()
When I run this, I get told that val is not a valid method.
What am I doing wrong?
Should be an easy one..
Thanks!
© Stack Overflow or respective owner