I ok with jQquery, I have been trying for hours on how to wrap a button click function to this.
There is a onclick function on button called 'SendTransferAction', but still need to wrap it in the specific button only called button-2.
expression: "if (VAL) return true; else return false;",
message: "Please enter correct Capthcha Code"
The normal way to do that, is to give the button a unique identifier and to make use of that for the purpose of attaching the event to the button.
<button id="button-2">Press my button!</button>
and with jQuery, you would use this to attach a function to the click event of that button:
Note: normally function names should start as lowercase, because any functions starting as uppercase are normally seen as being a function constructor, such as new Person()
This topic is now closed. New replies are no longer allowed.