Nilesh Patil

Nilesh Patil

  • NA
  • 3k
  • 111.7k

Ajax Call working in Chrome, but not in Firefox

May 15 2018 8:10 AM
Hi all,
 
I too much frustated, I'll try to much different things but still i am not getting solution.
 
I want to call method using Ajax call its work fine in chrome nut not work in firefox.
 
Here is my Ajax Call
 
.
 
<script>
$(document).on("click", "#Retire1", function (event)
{
var checkedIDs = $("input:checkbox.chkRemove:checked").val();
sessionStorage.setItem("Doc_Session_Retire", true);
var value1 = sessionStorage.getItem("Doc_Session_Retire");
$.ajax
({
type: "GET",
dataType: "json",
url: SessionDetailsRetire,
contentType: "application/html; charset=utf-8",
data: {
status: value1
}
})
.success(function (result) {
})
</script>
 
Here i call Ajax method
 
var SessionDetailsRetire = "@(Url.Action("SetSessionRetire", "Documents"))"; 
 
 
 

Answers (1)