Is there any way to add onblur event on a container of 2 input below ?
<tr>
<td>
<input id="firstName" type="text" />
</td>
<td>
<input id="lastName" type="text" />
</td>
</tr>
Is there any way to add onblur event on a container of 2 input below ?
<tr>
<td>
<input id="firstName" type="text" />
</td>
<td>
<input id="lastName" type="text" />
</td>
</tr>
you might not be able to have an onblur for a div if you happen to put that as a container for your inputs grouped together.
this might help
How to get div onblur event to execute a javascript function?