Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript function

Status
Not open for further replies.

funkyspirit

Programmer
Oct 6, 2011
12
GB
Hi there,

I have an issue with a VBScript function.

Basically, I have a selling page where customers enter their personal details after choosing a product from the products page.

The selling page displays the price of the package bought.

What I would like to do is enable customers to use voucher codes by selecting them from a drop down list. The voucher code would then be passed to a VBScript function which will recalculate the price using the voucher code, and then alter the price displayed accordingly.

Would someone have an example of how I could do that?

The page is an ASP page with VBScript.

Thank you.
 
I would recommend posting in the classic ASP forum here: forum333
I also recommend including a subset of your existing code
 
What I would like to do is enable customers to use voucher codes by selecting them from a drop down list. The voucher code would then be passed to a VBScript function which will recalculate the price using the voucher code, and then alter the price displayed accordingly.

Actually it would have to be done in javascript (forum216).
In ASP the server side vbscript has completed its processing before the page is displayed in the browser.




Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top