jQuery 1 div tag to display errors
Is it possible to use the same div tag so for example:
I want to put the div tag after every input field, so the relevant error message is right after the input field.
I am using jQuery validation script I have written, and just want to keep CSS to a minimum, so I don't have to have a new div tag for displaying the errors for each input field.
I not sure if its at all possible using jQuery as I am still fairly new to it, so any answers would be appreciated
This is not a div tag, it's a span and you can only have one(1) name as an ID to a page; classes can be plentiful.
If you change that to a class=display_errors and can link that span to the input field, then should be no problem.
|All times are GMT +1. The time now is 05:03 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.