Hi,

I'm struggling a little with jquery traversing. What I'd like to do is alert the 'action' attribute value of a form when one of it's inputs has been blurred.

e.g.
Code:
<table>
  <form action="1.asp">
    <tr>
      <td><input type="text" value="test1" /></td>
      <td><input type="text" value="test2" /></td>
    </tr>
  </form>
  <form action="5.asp">
    <tr>
      <td><input type="text" value="test3" /></td>
      <td><input type="text" value="test4" /></td>
    </tr>
  </form>
  <form action="3.asp">
    <tr>
      <td><input type="text" value="test5" /></td>
      <td><input type="text" value="test6" /></td>
    </tr>
  </form>
</table>
So, for example, if someone changed the first input value and blurred it, an alert would say "1.asp". If they did the same for the last input it would alert "3.asp".

Does anyone know how to do this with jquery?

Thanks for any help folks...