Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("table")
- .find("td :nth-child(1)")
- .change(function(){
- if (testisNAN($(this).val()) == false){
- $(this).before("<label class='error' title='test'>#</label>");
- alert('test1')
- }
- })
- .end()
- .find("td :nth-child(2)")
- .change(function(){
- if (testisNAN($(this).val()) == true){
- $(this).before("<label class='error' title='test'>*</label>");
- alert('test2')
- }
- })
Add Comment
Please, Sign In to add comment