breaststroke Posted March 28, 2011 Share Posted March 28, 2011 Hello,I am using the function maximo(field, limit) on some of my files.It works fine and it doesn't give me any erros back. I had some problems with this scripts because I was using capital letters,but you suggested me to change them and then it worked. This is the scrip within a textarea: <textarea name="comment" rows="10" cols="50" onkeypress="return validar(event,this);" onekeyup="maximo(this,800);padding=10px;" onkeydown="maximo(this,700);"> However, on one of my files, only on one, I get this error: " there is no attribute "onekeyup" "The script is exactly the same as in other files. I don't know what to do in order not to get that warning.I would appreciate any help.Thank you in advance.Regards. Link to comment Share on other sites More sharing options...
dsonesuk Posted March 28, 2011 Share Posted March 28, 2011 because it should be "onkeyup" Link to comment Share on other sites More sharing options...
Ingolme Posted March 28, 2011 Share Posted March 28, 2011 Hmm... Maybe "twokeysup" will work. Link to comment Share on other sites More sharing options...
breaststroke Posted March 28, 2011 Author Share Posted March 28, 2011 oh my God!It was that!. I typed "one" instead of "on". I am going blind..Thank you so much! , and sorry for the inconvenience!Regards, dsonesuk and Ingolme Link to comment Share on other sites More sharing options...
thescientist Posted March 29, 2011 Share Posted March 29, 2011 wonkeyup? Link to comment Share on other sites More sharing options...
jeffman Posted March 29, 2011 Share Posted March 29, 2011 Wake the monkeyup! <sorry> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.