send javascript variable to classic asp

前端 未结 2 1508
悲&欢浪女
悲&欢浪女 2021-01-23 21:23

I have a jQuery-powered cost calculator, and I want to allow the webpage to send a summary of the calculator\'s values in an email. The server runs on classic ASP.

How d

相关标签:
2条回答
  • 2021-01-23 22:17

    use http://api.jquery.com/jQuery.ajax/ or http://api.jquery.com/jQuery.post/ to send the information to process.asp

    0 讨论(0)
  • 2021-01-23 22:21

    Another solution is to set the values of the javascript variables to hidden form fields. Submit the form and read the form values on the server-side. After reading the values, create and send the email.

    0 讨论(0)
提交回复
热议问题