#79 new
Tom Maslen

Script tags added via glow.dom.create("<script/>") update don't always run

Reported by Tom Maslen | July 28th, 2009 @ 10:57 AM

This works...

var script = document.createElement('script');
script.src = 'script_include_test_01.js';
script.type = 'text/javascript';

But this doesn't...

glow.dom.get("head").append('<scr' + 'ipt type="text/javascript" src="script_include_test_01.js"></sc' + 'ript>');

The script node is added to the DOM, but it isn't executed. We think we will probably have to add the script into the page via glow.net.get().

This is happening in...

IE6/7 (8?)
Opera 9/10, both PC and Mac
Safari 4 Mac and PC
Chrome 2/3 (good bet that this doesn't work in 1)

The following browsers are okay...

Firefox - all instances
Safari 2/3 on Mac


Comments and changes to this ticket

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