Bug Tracker

Ticket #4476 (closed bug: worksforme)

Opened 6 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 6 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 6 years ago by huodian007

It is IE 7.0

comment:3 Changed 4 years ago by dmethvin

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

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.