I have a form:
<form method='somemethod' action='someaction' id='someid' populate='empty or non-empty'>
form elements
</form>
I wan to create a jQuery function that should alert ‘populate’ value whenever a form with populate attribute is loaded in webpage. Forget about populate value.
Means if form has populate attribute alert otherwise dont alert. How to achieve this??
Thanks
Check the length property