Jquery assistance - show button if value entered.

Associate
Joined
19 Mar 2005
Posts
569
I'm trying to create a simple validation for work app I've created but my app can be run by all, so in order to stop people running the app I'd like to put a validation check which basically hides a button until a specific word is entered in a text box. It doesnt need to be ultra secure so it's fine in javascript hidden away.

I've tried to modify an existing solution I found on the internet and here is as far as I've got.
http://jsfiddle.net/5SArB/2291/
Which I want the button to display if the word Bonfire is typed in the text box. I think I'm missing something really simple, could someone please have a look for me?

Here is the original code I've worked from and modified:
http://jsfiddle.net/jadendreamer/5SArB/ (working code)
https://jadendreamer.wordpress.com/...-a-field-based-on-the-value-of-another-field/ (website)

Thanks
 
Back
Top Bottom