且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

验证HTML5两个提交按钮.NET

更新时间:2022-12-11 14:41:42

我要做的是让新闻通讯按钮调用javascript例程来提交值AJAX并有一个单独的函数进程;你也可以把它从页面表单中取出来。



我也有这个AJAX函数例程设置一个cookie,可以在母版页渲染时使用它们不要在后续页面调用中获得相同的表单。
What I would do would be to make the newsletter button a call to a javascript routine to submit the value via AJAX and have a separate function process it; you could also take it out of the page form.

I would also have that AJAX function routine set a cookie that could be used when the master page renders so that they don't get that same form on subsequent page calls.