Am checking for maxlength of characters which shud accept only 255 characters and not more than that. If it exceeds it will throw an error in alert box. My problem is, when i give the characters more than 255 characters and i give the focus to another window like Worpad,Notepad and if i again go to the samepage of the webpage, it throws the error says the pls enter within limit of 255 characters and if i click ok, again this alert box alerts infinite time and it doesn't get stopped.
I donno how to solve this problem , how to bring focus to this window and stop the alert message after clicking ok button in that alert box. pls help me.