Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

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
0
tomrector
Asked:
tomrector
2 Solutions
 
GaryCommented:
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
 
tomrectorAuthor Commented:
I figured it out,   I just set the "check box"  to load another page that had the 'active'  script.
0

Featured Post

Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now