x27;t know which is faster. Personally I assign my key attributes at the
time of creation, $('mailto:[EMAIL PROTECTED] On
Behalf Of Diego A.
Sent: Thursday, April 12, 2007 3:24 PM
To: jQuery (English)
Subject: [jQuery] Re: dynamic creation of an button
I didn't know that, but I do have a
I didn't know that, but I do have a related question if you don't
mind.
I prefer to use...
$('');
...instead of...
$('').attr({'id':'some-id', 'value': 'yes'});
It works fine, but so many people choose to use the second method.
Is there anything wrong with the way I do it?
On Apr 12, 10:30 pm,
didn't know that, thanks..
dennis.
Jeffrey Kretz wrote:
Some of the attributes of a DOM object in IE are read-only.
The "type" attribute is one of these and so cannot be assigned to AFTER the
element is created.
JK
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Some of the attributes of a DOM object in IE are read-only.
The "type" attribute is one of these and so cannot be assigned to AFTER the
element is created.
JK
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of spinnach
Sent: Thursday, April 12, 2007 2:06 P
4 matches
Mail list logo