using jQuery, is it possible to detect if a keyword (or multiple keywords) has been entered in a textarea when a user clicks submit on a form?
Say I type, “This text has a keyword in it.” and click submit in the form, is it possible to display a simple alert that tells me that I typed this particular word?
Thanks for any info you can give me.
yes it’s easy
EDIT:
you have to put this code to be triggered by the submit button. if this is your form
then you can trigger it by doing this