Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144999 | May 31,2019 01:42 PM UTC | Jun 3,2019 07:04 AM UTC | ASP.NET MVC - EJ 2 | 3 |
![]() |
Tags: Textbox |
<script>
var gbl = 1;
function Save() {
$.ajax({
url: '@Url.Action("Zap")',
dataType: "json",
type: "POST",
success: function (data) {
gbl++;
var desc = document.getElementById("description").ej2_instances[0];
desc.value = gbl; // Use this instead of the below code
// desc.attr("value", gbl.toString());
}
});
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.