I want my web page to beep whenever a user exceeds the maximum character limit of my <textarea>.
I want my web page to beep whenever a user exceeds the maximum character
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not possible to do directly in JavaScript. You’ll need to embed a short WAV file in the HTML, and then play that via code.
An Example:
You would then call it from JavaScript code as such:
This should do exactly what you want – you’ll just need to find/create the beep sound yourself, which should be trivial.