Welcome Guest, Not a member yet? Register   Sign In
Javascript validation and getting value of it
#1

[eluser]gmahesha[/eluser]
Hi.. i have problem in validation of a check boxes using javascript in CI.
After submitting the form, in the validation function if i write this statement alert(document.form_name.checkbox_name.length); it will show undefined.

I think it works in without CI. but here, in CI i am getting problem.. So, anyone know how to validate the check boxes using javascript( not PHP) in CI.... plz help me

Thanks in advance.
#2

[eluser]Flemming[/eluser]
try jquery validation!

http://docs.jquery.com/Plugins/Validation

it is well documented and lots of examples on the web. Makes validation easy!




Theme © iAndrew 2016 - Forum software by © MyBB