There are some cases where I need to set the value of a field based on title. I try to do this in jQuery in a simple example but it doesn't work.
I have this field:
<input type="text" title="EmployeeMail" name="mail" value="">
I would like to set the value using jQuery:
What is the problem?