#151 new
Jake Archibald

dom.create: Allow creating a single element by tag name

Reported by Jake Archibald | October 23rd, 2009 @ 01:23 PM | in 2.0

glow.dom.create('fieldset');

The above would produce the same result as

glow.dom.create('<fieldset></fieldset>');

Glow would simply look at the first char, if it's not "<", it assume it's been given a tag name and passes it through document.createElement.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A JavaScript Library

Shared Ticket Bins

People watching this ticket

Pages