Jump to content

error:"there is no attribute "onekeyup"


Recommended Posts

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.

Edited by breastsroke
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...