hi
when i sent less data action event fired when i sent large html input data action event not fired any solution for this
i am using this code
<script type="text/javascript"> $(function () { $("#btnSubmit").click(function () { var divContents = $("#Grid").html(); // var windowObject = window.open();
//windowObject.document.write(divContents); var data = "data"; alert(divContents); $.ajax({ type: 'POST', url: "/PreviewForm4/ExportExcel", data: '{exportdata: "' + data + '"}', contentType: "application/json; charset=utf-8", dataType: "html", success: function (response) { }, failure: function (response) { alert(response.responseText); }, error: function (response) { alert(response.responseText); } }); }); });
</script>