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.