Skip to main content

Bug Tracker

Side navigation

#6573 closed bug (invalid)

Opened May 17, 2010 06:26AM UTC

Closed October 03, 2010 01:27AM UTC

Error running at Firefox.

Reported by: kahhiung Owned by:
Priority: undecided Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

I tested the jquery over the IE. It is working fine. But, when I run the same pieces of code at Firefox, then it will return an error message to me:

input is null

if (input.d.IsError == true) {

The code are as follow:

$("a[class=edit_link]").click(function () {

var ID = $(this).attr("id");

var dataString = "\\"ID\\":\\"" + ID + "\\""

$.ajax({

type: "POST",

url: "http://DMSDeveloper/eFICPSConverted/testLookupWebMethod.aspx/LoadRecordDetail",

data: "{" + dataString + "}",

contentType: "application/json; charset=utf-8",

dataType: "json",

success: function (input) {

if (input.d.IsError == true) {

alert(input.d.ErrMessage);

}

else {

$("input[type=text][id=txtName]").val(input.d.Name);

$("input[type=text][id=txtContact]").val(input.d.Contact);

$("div[id=TestLookup.aspx.Lookup]").hide();

$("div[id=TestLookup.aspx.Detail]").show();

$("input[type=text][id=txtID]").val(ID);

$("input[type=text][id=txtType]").val("E");

$('label[class=error]').hide();

}

},

error: AjaxFailed

})

});

Attachments (0)
Change History (1)

Changed October 03, 2010 01:27AM UTC by addyosmani comment:1

need: ReviewTest Case
priority: → undecided
resolution: → invalid
status: newclosed

Please re-submit your ticket with a valid test server URL so that we can establish whether this is an issue with the jQuery code supplied or with the output of your server-side code.

Thanks.