Advertisement

05.13.2008 at 09:42PM PDT, ID: 23400282
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

innerHTML markup changed in IE

Gday guys, here is a sample javascript to alert me the innerHTML of a div, I would like it to return the full correctly marked up HTML

The below code snippet outputs this in IE

<TEXTAREA id=source style="WIDTH: 100%" rows=15 readOnly></TEXTAREA>

Note: uppercase on tag, readOnly attribute is short hand, quotes removed on attributes.

Any ideas guys
1:
2:
3:
4:
<div id="test">
<textarea id="source" readonly="readonly" rows="15" style="width:100%;"></textarea>
</div>
<a href="javascript:alert(document.getElementById('test').innerHTML);">Alert</a>
Start your free trial to view this solution
Question Stats
Zone: Web Development
Question Asked By: zemond
Solution Provided By: naspinski
Participating Experts: 2
Solution Grade: A
Views: 0
Translate:
Loading Advertisement...
05.13.2008 at 10:12PM PDT, ID: 21561414

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.14.2008 at 02:35AM PDT, ID: 21562372

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.21.2008 at 08:25AM PDT, ID: 21616021

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.21.2008 at 03:11PM PDT, ID: 21619481

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.21.2008 at 03:41PM PDT, ID: 21619637

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.21.2008 at 04:19PM PDT, ID: 21619805

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.21.2008 at 10:38PM PDT, ID: 21621173

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.22.2008 at 12:09AM PDT, ID: 21621519

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.26.2008 at 04:58AM PDT, ID: 21645867

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.26.2008 at 04:59AM PDT, ID: 21645870

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.13.2008 at 10:12PM PDT, ID: 21561414
Since Javascript is run client-side, its output is browser dependent, and annoyingly, that is how IE takes care of tags.  So, you either have to live with it, or explicitly convert to lowercase.
http://www.developertutorials.com/tutorials/javascript/javascript-lower-case-upper-case-051019/page1.html
Accepted Solution
 
05.14.2008 at 02:35AM PDT, ID: 21562372

Rank: Guru

Not to say things won't be different with IE8 ;-)
 
05.21.2008 at 08:25AM PDT, ID: 21616021

Rank: Guru

I object on principle.

It is not right that the Asker should hide behind the "Delete Question" button when he does not like the answer. Expert <naspinski> nailed it with his comment and should be awarded all of the points.
 
05.21.2008 at 03:11PM PDT, ID: 21619481
The basic question was this 1 line,

Note: uppercase on tag, readOnly attribute is short hand, quotes removed on attributes.

naspinski showed me a tutorial on converting uppercase to lowercase, Which would also convert any data that may be required in uppercase. This is not a solution, for "full correctly marked up HTML" it poorly provides an answer to 1 part of the question.

Sorry naspinski and badotz, I dont believe this should have points awarded.
 
05.21.2008 at 03:41PM PDT, ID: 21619637

Rank: Guru

There is no direct solution to your issue, and that is what <naspinski> posted.

Whether or not you agree with that, it is the correct response; you cannot withhold points because you do not like the answer.

Further, <naspinski> explained that this is an issue with IE, and how you must overcome this shortcoming yourself. What more could anyone ask?
 
05.21.2008 at 04:19PM PDT, ID: 21619805
"I would like it to return the full correctly marked up HTML", telling me i have to overcome this shortcoming myself is implied in the question, of course I do, otherwise the question would be "why does IE do ...."

I have started playing around with string.replace() using regular expressions, to ensure the code is correct. This works this is a direct solution.
 
05.21.2008 at 10:38PM PDT, ID: 21621173
Please do not make any post of any kind after a Closing or Delete request has been started by the asker unless you have a specific objection.

Any post by anyone -- including the Asker -- after the request is made will stop the automated process and force the manual intervention of a Moderator/Admin.

zemond,

Please try again; we will check back on this in a few days.

Netminder
Site Admin
http://www.experts-exchange.com/Q_23421237.html
 
05.22.2008 at 12:09AM PDT, ID: 21621519
This is the only comment I am going to post, but basically you are saying you figured it out because of what I said.  In fact, you said exactly: "Any ideas guys" in your initial question and that's what was provided.  In fact, that idea is what answered your question.  I explained *exactly* why it wasn't working and how you had to basically find a way to work around it, you just happened to use a slightly different method which happens most of the time anyways.  I feel it is unfair to rescind the points.

Thanks Badotz :)
 
05.26.2008 at 04:58AM PDT, ID: 21645867
No Response to Expert and/or Moderator.
Force closed.
 
Vee_Mod
Experts Exchange Moderator
 
05.26.2008 at 04:59AM PDT, ID: 21645870
A request has been made in Community Support to close this question:
http://www.experts-exchange.com/Q_23421237.html

If there are no objections, a moderator will finalize this question in approximately 4 days as follows:
Accept expert comment {http:#a21561414}

Please leave any recommendations here.

modus_operandi
EE Moderator
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628