jquery Programming Glossary: inputmessage
A simple jQuery form validation script [closed] http://stackoverflow.com/questions/15060292/a-simple-jquery-form-validation-script '#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 '.error' .hide if inputVal 0 '#nameLabel' .after ' span class.. 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' .after ' span class error Letters only span ' if inputVal 1 '#companyLabel'.. ' 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 ' span class error Please enter your ' inputMessage 2 ' span ' else if..
|