Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – View All Attachments for
Bug 320060
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Attachment #174465
Open this file on IE8 and SWT Browser give the different result
text/html
2010-07-15 23:08:07 EDT
907 bytes
no flags
Details
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Get Attrinute Test</title> <script src="js/jquery.js" type="text/javascript"> </script> <script type="text/javascript"> $(document).ready(function(){ getDataSrc(); }); function getDataSrc(){ var dfnList = $(document).contents().find('dfn'); for (i = 0; i < dfnList.size(); i++) alert(dfnList[i].getAttribute('datasrc')); } </script> </head> <body> <div id="content"> </div> <dfn datasrc='The attribute shows correctly' title=''> DFN field </dfn> </body> </html>