[BNM] innerHTML
Nick Wright
Nick at solv.it
Mon Aug 6 12:01:04 BST 2007
I've found it's the only way for adding new strings of HTML, i.e. when
not assigning new elements using appendChild or something similar. I'd
love to know if there's another approach.
Is there a simple way to convert a string into an element and then
append that?
NW
-----Original Message-----
From: bnmlist-bounces at brightonnewmedia.org
[mailto:bnmlist-bounces at brightonnewmedia.org] On Behalf Of Patrick Heath
Sent: 06 August 2007 11:22
To: 'Brighton New Media'
Subject: [BNM] innerHTML
innerHTML
is it ok to use this for appending html to a page or better to stick to
DOM
methods?
Any good tools to simplify the latter?
Also anyone using JSON for the AJAX response rather than xml for large
bits
of data, any performance advantages?
Cheers
Pat.
_____
I am using the free version of SPAMfighter for private users.
It has removed 1467 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter <http://www.spamfighter.com/len> for free now!
--
BNM Subscribe/Unsubscribe:
http://www.brightonnewmedia.org/options/bnmlist
BNM info/archives:
http://www.brightonnewmedia.org/
BNM powered by Wessex Networks:
http://www.wessexnetworks.com
More information about the BNMlist
mailing list. Powered by Wessex Networks