I’ve three div tags in a page.
<div id = '1'>
</div>
<div id = '2'>
</div>
<div id = '3'>
</div>
When a user click on tag, respective div will load,they all will be on one page with one submit button.
Now ,how to validate the div,i’ve to know which div the user clicked.
update
This is my vaidation script
function x()
{
var x = true;
some validation script
return x;
}
Shed some light here,it will help me to go forward.
Thanks in advance!!
Something like this should do the trick