You're right;
innerHTML is much, much, MUCH faster to execute (see http://
www.quirksmode.org/dom/innerhtml.html for numbers). It's also quicker
to code and to implement.
However it leaves you with less handles on the elements you're
inserting, and 'feels' wrong (in the same way that
On Mon, 15 Oct 2007 09:23:04 +1000, Kit Grose wrote:
[...]
I'm a big fan of JS libraries. I use Prototype (and Script.aculo.us) and YUI
quite a
lot as the basis of a lot of my larger JS-based sites. The advantage of YUI
isn't so
much its ability to maintain strong standards, but its very
Sorry if this is a bit of a newbie question, but what's the issue with
innerHTML?
On 13/10/2007, Christian Montoya [EMAIL PROTECTED] wrote:
On 10/12/07, Simon Cockayne [EMAIL PROTECTED] wrote:
Hi,
Anyone using jQuery (http://jquery.com/) or Yahoo UI
(http://developer.yahoo.com/yui/) ?
On 10/13/07, Jason Foss [EMAIL PROTECTED] wrote:
Sorry if this is a bit of a newbie question, but what's the issue with
innerHTML?
It's not an official W3C DOM method. When you fill the content of an
element with innerHTML, the browser will render it but as far as I can
remember, the content
On 10/13/07, Christian Montoya [EMAIL PROTECTED] wrote:
On 10/13/07, Jason Foss [EMAIL PROTECTED] wrote:
Sorry if this is a bit of a newbie question, but what's the issue with
innerHTML?
But if you are already using a very DOM-friendly
framework like jQuery, you may as well take advantage
On 10/12/07, Simon Cockayne [EMAIL PROTECTED] wrote:
Am I going to see green lights* in Firefox for standards compliance,
error-free CSS and Javascript...oh...and will the HTML and CSS validate?
I don't think _any_ Javascript libraries would affect HTML/CSS
validation in any way whatsoever,
On 10/13/07, Dan Dorman [EMAIL PROTECTED] wrote:
On 10/12/07, Simon Cockayne [EMAIL PROTECTED] wrote:
Am I going to see green lights* in Firefox for standards compliance,
error-free CSS and Javascript...oh...and will the HTML and CSS validate?
I don't think _any_ Javascript libraries would
On 10/13/07, Christian Montoya [EMAIL PROTECTED] wrote:
In a way, it's kind of like embed vs. object.
In a way, but...
Of course, if you really want to use innerHTML, you could probably go
right ahead. But if you are already using a very DOM-friendly
framework like jQuery, you may as well
Hi,
Anyone using jQuery (http://jquery.com/) or Yahoo UI (
http://developer.yahoo.com/yui/) ?
Do they, help to, build nice Standards based apps?
Am I going to see green lights* in Firefox for standards compliance,
error-free CSS and Javascript...oh...and will the HTML and CSS validate?
*I LOVE
Hi Simon,
jQuery won't introduce any errors automatically, so unless you tell it to
do something that will generate invalid HTML or CSS it will be fine. I
assume the same is true of YUI.
- Andrew Ingram
Hi,
Anyone using jQuery (http://jquery.com/) or Yahoo UI (
On 12/10/2007, Simon Cockayne [EMAIL PROTECTED] wrote:
Anyone using jQuery (http://jquery.com/) or Yahoo UI (
http://developer.yahoo.com/yui/) ?
Do they, help to, build nice Standards based apps?
Am I going to see green lights* in Firefox for standards compliance,
error-free CSS and
Hi Simon,,
I was just reading a very interesting article regarding jQuery:
http://www.digital-web.com/articles/jquery_crash_course/
probably you can get some more information from there.
Alfonso Catron
On 10/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Simon,
jQuery won't
On 12/10/2007, Maarten stolte [EMAIL PROTECTED] wrote:
Not true. YUI is much more then a Javascript library, and it outputting
alot of HTML and CSS could (possibly!) make it break your valid pages.
My point was that YUI doesn't output any HTML on its own - it only does what
you tell it to do.
On 10/12/07, Simon Cockayne [EMAIL PROTECTED] wrote:
Hi,
Anyone using jQuery (http://jquery.com/) or Yahoo UI
(http://developer.yahoo.com/yui/) ?
Do they, help to, build nice Standards based apps?
Am I going to see green lights* in Firefox for standards compliance,
error-free CSS and
I haven't tried Yahoo's library, but jQuery is just great. I only use
it lightly (getting DOM elements, applying classes etc), but its been
very nice to work with so far. No code issues.
Joseph R. B. Taylor
-
Sites by Joe, LLC
Clean, Simple and Elegant Web
On 12/10/2007, Simon Cockayne [EMAIL PROTECTED] wrote:
Anyone using jQuery (http://jquery.com/) or Yahoo UI (
http://developer.yahoo.com/yui/) ?
Do they, help to, build nice Standards based apps?
Am I going to see green lights* in Firefox for standards compliance,
error-free CSS and
Can you comment on Ext JS ?
http://extjs.com/
I'd been wanting to know how it measure up with standards but
thought this is not a place to ask, but where is the better place to
get a better answer regarding standards? :)
tee
On Oct 12, 2007, at 10:56 AM, Christian Montoya wrote:
On
17 matches
Mail list logo