Optimalworks Ltd web design, SEO, training and consultancy 

the site completely surpassed my expectations GT, AutoDirector, we build websites that work, my website is great - I love it MP, XL Autos, reach more customers, make more sales, it's more than I ever could have expected LM, Trade Cars UK, we can help your business grow, 99% of business now comes from my website GV, Bash Events, promoting standards throughout the web industry, your contribution added a level of quality we would otherwise have struggled to achieve PS, Hemsley Fraser
  1. home
  2. Services
  3. Portfolio
  4. Contact us
  5. blog

innerHTML: the ultimate alternative solution

Using innerHTML for DOM manipulation does not come without problems. This article proposes a completely new solution that is simple, has the advantages of innerHTML, but uses safe W3C DOM methods. All in 50 lines of JavaScript too!

ajax, dom, download, html, javascript, standards, xml

62 comments

Cross-browser JavaScript – detecting arrays

Detecting whether a JavaScript variable is an array is far more difficult than it should be! The solution proposed here appears to work in IE5.0+, Firefox, Safari, Opera and Konqueror.

firefox, ie, javascript, safari

6 comments

JavaScript in-place document updates

JavaScript syndication and widgets often use nasty innerHTML or document.write methods to create HTML at the location where the script is loaded. This article discusses a far better method that has been proposed at SitePoint.

dom, javascript

no comments

JavaScript console for Safari on Windows

By default, Safari for Windows has very few tools or options that help web developers debug their sites. However, with a little hacking, you can enable the Debug menu and launch a JavaScript console.

javascript, safari

8 comments

Web development courses: CSS, JavaScript and AJAX

We are running several courses for web developers who are interested in learning more about web standards, CSS layouts, accessibility, microformats, JavaScript, DOM scripting, AJAX and more.

ajax, css, developers, dom, javascript

no comments

Another answer to the Web2.0 question

If you have been wondering just what Web2.0 is, then spend two minutes watching this video. I’ve got a few things to say on the matter too!

ajax, dom, javascript, xml

no comments

  • next page — Next Page » 
  • « Previous Page — previous page 
search
  • all popular (5)
  • courses (1)
  • general (4)
  • hardware (1)
  • software (31)
    • blogs (1)
    • free download (8)
    • web browsers (12)
    • web servers (2)
  • web development (42)
    • accessibility (4)
    • ajax (1)
    • css (3)
    • graphic design (4)
    • html (1)
    • javascript (11)
    • php (5)
    • seo (2)

tags

  • accessibility
  • ajax
  • analytics
  • apache
  • award
  • book
  • chrome
  • computing
  • css
  • design
  • developers
  • dom
  • download
  • editor
  • emulation
  • firefox
  • funny
  • google
  • graphics
  • hardware
  • html
  • ie
  • javascript
  • opera
  • php
  • png
  • portfolio
  • review
  • ruby
  • safari
  • security
  • seo
  • server
  • software
  • spam
  • ssl
  • standards
  • wordpress
  • xml
  1. site map
  2. home
  3. Services
  4. Portfolio
  5. Contact us
  6. blog
  7. RSS feed
  8. project survey

XHTML 1.0 | CSS 2.1 | WAI AAA | printer-friendly

©2012 Optimalworks Ltd, Devon, UK. Registered in England and Wales No. 5922205.

This page can be viewed at http://www.optimalworks.net/blog/2007/web-development/javascript/innerhtml-alternative