Web page Script problem

I want to have a checkbox selection enable a script (luhn credit card script)

I have the script disabled with <!script.....
I want the checkbox to generate action to remove the !

That way if the user checks he wants to use a credit card I can check to make sure it is a valid  number.

Or suggestions on any other way to do this would be appreciated.


Thnaks.
 Tom Rector
tomrectorAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
tomrectorConnect With a Mentor Author Commented:
I figured it out,   I just set the "check box"  to load another page that had the 'active'  script.
0
 
GaryConnect With a Mentor Commented:
You cannot enable a script if it wasn't there to start with - you would have to reload it.
Why are you 'disabling' it - shouldn't be doing any harm if you don't need to use it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.