i have an input field which calls the function “inputInlineHint(self)” on blur and on focus.
It also passes self…
<input type="text" id="one" class="textbox" value="Your Name" onfocus="inputInlineHint(self);" onblur="inputInlineHint(self);" />
Now i’d like to retrieve the current value of the field:
function inputInlineHint(e) {
var theValue = '';
//Now i need to retrieve the value... but how?
}
I hope you guys can help me with that… should be pretty basic but i’m new to jquery.
Thanks in advance!
thisnotself.selfis undefined.eto something else.eis traditionally used to receive an event object, but you aren’t assigning the function as an event handlerwhatever_you_renamed_e_to.value