jquery Programming Glossary: inputval
A simple jQuery form validation script [closed] http://stackoverflow.com/questions/15060292/a-simple-jquery-form-validation-script '#companyInput' .val var email '#emailInput' .val var telephone '#telInput' .val var message '#messageInput' .val var inputVal new Array names company email telephone message var inputMessage new Array name company email address telephone number message.. telephone message var inputMessage new Array name company email address telephone number message '.error' .hide if inputVal 0 '#nameLabel' .after ' span class error Please enter your ' inputMessage 0 ' span ' else if nameReg.test names '#nameLabel'.. ' inputMessage 0 ' span ' else if nameReg.test names '#nameLabel' .after ' span class error Letters only span ' if inputVal 1 '#companyLabel' .after ' span class error Please enter your ' inputMessage 1 ' span ' if inputVal 2 '#emailLabel' .after..
|