Say I have
$(\":input[type=text]:first\")
How do I get
How about:
var str = $(selector)[0]
Maybe add a check that there is one element returned.