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 – Attachment 174465 Details for
Bug 320060
Working with javascript on SWT browser yeild the different result from IE on Windows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Open this file on IE8 and SWT Browser give the different result
ie_get_attr_bug.html (text/html), 907 bytes, created by
Anakkapan K.
on 2010-07-15 23:08:07 EDT
(
hide
)
Description:
Open this file on IE8 and SWT Browser give the different result
Filename:
MIME Type:
Creator:
Anakkapan K.
Created:
2010-07-15 23:08:07 EDT
Size:
907 bytes
patch
obsolete
><!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>
<!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>
View Attachment As Raw
Actions:
View
Attachments on
bug 320060
: 174465