jquery Programming Glossary: alertvalidation
alert not working the way I want it to work http://stackoverflow.com/questions/9144211/alert-not-working-the-way-i-want-it-to-work are controlled function validation var _qid var _msg alertValidation Note this is just so it's declared... tr.optionAndAnswer .each.. this .each function if this.value this.value.length 5 alertValidation nYou have not entered a valid Question n if alertValidation.. nYou have not entered a valid Question n if alertValidation return false Stop the each loop .numberAnswerTxtRow this..
alert not working the way I want it to work http://stackoverflow.com/questions/9144211/alert-not-working-the-way-i-want-it-to-work Below is the code of the validation function where the alerts are controlled function validation var _qid var _msg alertValidation Note this is just so it's declared... tr.optionAndAnswer .each function _qid td.qid this .text _msg You have errors on Question.. You have errors on Question Number _qid n .textAreaQuestion this .each function if this.value this.value.length 5 alertValidation nYou have not entered a valid Question n if alertValidation return false Stop the each loop .numberAnswerTxtRow this.. this .each function if this.value this.value.length 5 alertValidation nYou have not entered a valid Question n if alertValidation return false Stop the each loop .numberAnswerTxtRow this .each function var currenttotal this .closest '.optionAndAnswer'..
|