Frustrated Geek
|
| Posted: 11/12/2004, 9:57 AM |
|
I got this form that i created using simple HTML.
Now I want to change its action, and control values but cant access it using Code Charge. The core works in a regular ASP page but no on a After Initialize function.
Dim FormA
Set FormA = document.forms("FormStateA")
FormA.username.value = username
FormA.password.value = password
FormA.request_id.value = request_id
FormA.OrderTotal.value = OrderTotal
FormA.return_url.value = return_url
FormA.action = strurl
FormA.submit()
I get this error:
Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'document'
/store/PayFlow_events.asp, line 65
Is there a work around for this?
Or if could just change a CC Forms Action would be great since i got to send it to another page.
|
|
|
 |
Frustrated Geek
|
| Posted: 11/12/2004, 10:47 AM |
|
ok forget it got it i some how mixed js with asp lolll my bad too much counter strike i guess hahaha
|
|
|
 |
thuyhang
|
| Posted: 11/14/2004, 5:30 AM |
|
thank you very much!!
|
|
|
 |
|