Hello Guyz!! Is it possible to refresh a label value without page load using Ajax?? What I am trying to do is when I change the value of a TextBox using Ajax it will be refreshed without page load and at the same time change the label value. But right now
what I've done is if the value of the TextBox is changed then it refreshes the full page. But I do not want my viewers to observe the page loading at that time. Below is the script:
<script type="text/javascript">
function PackageChange(obj) {
$.ajax({
url: 'GetAjaxData.aspx/getSellPrice',
type: 'POST',
data: JSON.stringify({ CartID: $(obj).closest("td").closest("tr").find("span[id^='CartID']").text(), Quantity: pacval }),
dataType: "json",
contentType: "application/json; charset=utf-8",
success: fun ...
Go to the complete details ...