clyde
07-02-2003, 02:21 PM
Below is a sample of an HTML I am using to get Credit card validation.
When the Submit Button is hit the string is sent to the server In return a Text string seperated by commas is sent back.
Example String -> 1,1,1,Approved,212.41,CC Etc. Etc.
Is There any way that via JavaScript can force the html to wait for the response and trap the character string to seperate
and pass down to a server application.
Any Help would be appreciated.
Thanks
Clyde
----------------------------------------------------------------
Sample HTML
<html>
<head>
</head>
<body>
<FORM method=post action="https://xxxxx.xxxxx.net./xxxxxx/xxxxxx.dll">
<INPUT type="hidden" name="x_Login" value="xxxxxxxx">
<INPUT type="hidden" name="x_Password" value="xxxxxxxx">
<INPUT type="hidden" name="x_Version" value="63.0">
<INPUT type="hidden" name="x_Test_Request" value="TRUE">
<INPUT type="hidden" name="x_Card_Num" value="9999999999999999">
<INPUT type="hidden" name="x_Amount" value="212.44">
<INPUT type="hidden" name="x_Method" value="CC">
<INPUT type="submit" value="Click to Submit">
</FORM>
</body>
</html>
When the Submit Button is hit the string is sent to the server In return a Text string seperated by commas is sent back.
Example String -> 1,1,1,Approved,212.41,CC Etc. Etc.
Is There any way that via JavaScript can force the html to wait for the response and trap the character string to seperate
and pass down to a server application.
Any Help would be appreciated.
Thanks
Clyde
----------------------------------------------------------------
Sample HTML
<html>
<head>
</head>
<body>
<FORM method=post action="https://xxxxx.xxxxx.net./xxxxxx/xxxxxx.dll">
<INPUT type="hidden" name="x_Login" value="xxxxxxxx">
<INPUT type="hidden" name="x_Password" value="xxxxxxxx">
<INPUT type="hidden" name="x_Version" value="63.0">
<INPUT type="hidden" name="x_Test_Request" value="TRUE">
<INPUT type="hidden" name="x_Card_Num" value="9999999999999999">
<INPUT type="hidden" name="x_Amount" value="212.44">
<INPUT type="hidden" name="x_Method" value="CC">
<INPUT type="submit" value="Click to Submit">
</FORM>
</body>
</html>