Search code examples
asp.nethtmljtemplates

Get TextArea input on HTML-Page with ASP.net


Using jTemplates I have a HTML-Page in my asp.net 4.0 project. On this HTML-Page I have a text area and a submit button. How could I get the entered value into my asp.net application when the user clicks the Submit-Button?


Solution

  • Try this in your AJAX request:

    jQuery('#form_element_id').submit(function(eve){
        eve.preventDefault();
        var updateval = jQuery("#textare_element").val();
    
    
    
    });