Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 jTemplates 我在我的 asp.net 4.0 项目中有一个 HTML 页面。在这个 HTML 页面上,我有一个文本区域和一个提交按钮。当用户单击提交按钮时,如何将输入的值输入到我的 asp.net 应用程序中?
在你的 AJAX 请求中试试这个:
jQuery('#form_element_id').submit(function(eve){ eve.preventDefault(); var updateval = jQuery("#textare_element").val(); });