• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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