76
rated 0 times
[
82]
[
6]
/ answers: 1 / hits: 36154
/ 13 Years ago, mon, november 14, 2011, 12:00:00
Say I have
$(:input[type=text]:first)
How do I get
<input type=text value= size=28 maxlength=140 tabindex=1 placeholder=search class=textbox name=q autocomplete=off>
Assuming I run this on SO?
Update I don't want to call .parent()
since I have lots of other stuff in the parent element.
More From » jquery