Bug Tracker

Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#4476 closed bug (worksforme)

Jquery not support XML parse for IE

Reported by: huodian007 Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

in Jquery.1.3.2 line 1945 To get the XML text, in firefox it is elem.textContent, but in IE it is elem.text so it should change

return (elem.textContent
elem.innerText "").indexOf(match[3]) >= 0;

to

return (elem.textContent
elem.innerText elem.text "").indexOf(match[3]) >= 0;

Change History (3)

comment:1 Changed 7 years ago by huodian007

in Jquery.1.3.2 line 1945 To get the XML text, in firefox it is elem.textContent, but in IE it is elem.text so it should change

return (elem.textContent
elem.innerText "").indexOf(match[3]) >= 0;

to

return (elem.textContent
elem.innerText elem.text "").indexOf(match[3]) >= 0;

comment:2 Changed 7 years ago by huodian007

It is IE 7.0

comment:3 Changed 6 years ago by dmethvin

  • Resolution set to worksforme
  • Status changed from new to closed

This must have been a bug in the pre-release 1.3; the code is correct in 1.3.2.

Note: See TracTickets for help on using tickets.