Why this code can't run on Firefox?

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Posts: 2
Joined: December 15th, 2014, 12:48 am

Post Posted December 15th, 2014, 1:11 am

I used and generate a page when I test my Page on Chrome and Opera or Internet Explorer this code works fine and navigate me to Destination but when I used Firefox to test my page can't run this code.
I have a link button on my Default page and when I click on this link button return to my default page again.

this is my Code:

<script type="text/javascript">
function ShowCurrentTime() {
type: "POST",
url: "Default.aspx/GetCurrentTime",
data: '{name: "' + $("#<%=Describe.ClientID%>")[0].innerText + '" }',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess,
failure: function (response) {
function OnSuccess(response) {
window.location.href = "reader.aspx?News=" + response.d;

If you want to more info you can go to:

I installed last version of Firefox

Plz help me,THANKS

Return to Web Development / Standards Evangelism

Who is online

Users browsing this forum: No registered users and 1 guest