Hi there,
is there a better way to write
$('#sender-name')[0].value;
instead of using the 0 element... Its an id so only 1 element should be present, is there some kind of FirstElement property or first child or something?
Basically i am returning it to a variable .. but of course jquery returns an array of items but it is an id so i not interested in the array just the first item..
Any ideas?
THanks