¡@

Home 

2014/10/16 ¤W¤È 12:06:02

jquery Programming Glossary: optin

.NET Simple Form Submit via AJAX and JQUERY

http://stackoverflow.com/questions/6330384/net-simple-form-submit-via-ajax-and-jquery

pulled in via context.Request email and context.Request optin are NULL. I know there's something wrong but I can't see it... insertEmail.ashx data email ' .emailConnectTextBox .val ' optin ' .connectCheckbox .val ' contentType application json charset.. .ToString string email context.Request email optin context.Request optin string strSQL INSERT INTO Emails emailAddress..

.NET Simple Form Submit via AJAX and JQUERY

http://stackoverflow.com/questions/6330384/net-simple-form-submit-via-ajax-and-jquery

alerting me to an error. When I trace the .NET the variables pulled in via context.Request email and context.Request optin are NULL. I know there's something wrong but I can't see it. I've re edited this post to have the latest code. jQuery in.. .val .ajax type POST url asynchronous insertEmail.ashx data email ' .emailConnectTextBox .val ' optin ' .connectCheckbox .val ' contentType application json charset utf 8 dataType json success function msg alert msg.d .. System.Configuration.ConfigurationManager.AppSettings SQLConnectString .ToString string email context.Request email optin context.Request optin string strSQL INSERT INTO Emails emailAddress optIn VALUES ' email.ToString ' ' optin.ToString ' SqlConnection..