Login | |
|
 |
Re: VBScript driving me MAD! - 2/21/2005 3:01:45 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Olimess, Without seeing any code it is very difficult for people to help. Viewsource only shows HTML and not the scripting. About all that can be seen is the fact that you are receiving the following error: quote: Line: 12 Char: 1 Error: 'call' is undefined Code: 0 URL: http://69.93.132.52/polylabel.com/test.asp
Also, Did you ever look at your first post ? I posted a fix to a problem there and it seems that you are using the same look for the ASP page above. Could that be worked into what you are working on here? http://www.visualbasicscript.com/topic.asp?TOPIC_ID=2093
|
|
| |
|
|
|
 |
Re: VBScript driving me MAD! - 2/21/2005 6:00:01 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Not sure why you are using response.write to write everything, but I think that is your problem. When I take what you posted and create an ASP page I get the same error as before, Line: 12, Error: 'call' is undefined. Now, when I look at the ASP doc line 12 is quote: Dim TAX_RATE
which would not give that error. I then looked at the source code for the asp page and line 12 is: quote: </TR><TD colspan=2><INPUT TYPE='Button' NAME=Calculate VALUE='Calculate Totals' onclick=call cmdCalculate()></TD>
I then looked at the source code a little closer and found that the call you are making (cmdCalculate)is not in any other place in the code. There is no scripting in the source code. I then took the code that I posted in the other post and pasted it into the ASP page. This worked. Try that.
|
|
| |
|
|
|
 |
Re: VBScript driving me MAD! - 2/21/2005 6:10:43 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
I think that is the case. It will write what you want to the browser window.
|
|
| |
|
|
|
 |
Re: VBScript driving me MAD! - 2/21/2005 6:46:43 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
I have never claimed to be good at writing html/asp but was offering help. As to what you posted, I am getting an error on line 15, Object doesn't support this property in reference to document.all.s1. When I look at the source code I do not see that line <td><br><input type=radio name="shippingcost" id="s1"> Airmail: </td> For some reason this is not being displayed.
|
|
| |
|
|
|
|
|