asp.net Textbox value is null when post bock with Jquery Dialog occured

前端 未结 2 1642
死守一世寂寞
死守一世寂寞 2021-01-14 08:45

I have Asp.net text box in < div> tag which after click on \"btnReply\",< div> showes by Jquery Dialog, so user write idea at text box and click \"Send\" button (jquer

2条回答
  •  一个人的身影
    2021-01-14 09:00

    Use hidden field value to store the textbox value

    var Des = $("#txtDesc").val();
    $("#hid").val(Des);
    

    hid is the id of hidden field.

提交回复
热议问题