checking from with #id function was executed
I've got following situation:
html:
- <div id="a1">
- <form>
- // here text and submit input
- </form>
- </div>
- <div id="a2">
- <form>
- // here text and submit input
- </form>
- </div>
Than I execute function after submit, to get proper resultats i need to distinguish from with div id it was submitted.
How to achieve it?