This is a discussion on "DOM - Inserting <script> between <head>" within the JavaScript Forum section. This forum, and the thread "DOM - Inserting <script> between <head> are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
DOM - Inserting <script> between <head>
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
DOM - Inserting <script> between <head>
If I were to use DOM to create and insert an external script in the head of an HTML document, will that page recognise functions from the external script if they are called to?
|
|
|
|
||||
|
Re: DOM - Inserting <script> between <head>
I don't know about the head, but you could use document.write to write the HTML to call a script. I've used that before, works like a charm.
__________________
echo "Take it easy, ".$CloudedVision; .links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; } <quote>"I think it's wrong that only one company makes the game Monopoly" - <name>Steven Wright</name></quote>
Last Blog Entry: More Cheat Sheets (Jul 12th, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| inserting time | phiero21 | JavaScript Forum | 1 | May 2nd, 2008 20:09 |
| Need help in inserting audio using <object> | shevorne | Flash & Multimedia Forum | 8 | Sep 29th, 2007 13:39 |
| Inserting Session into the database | franknu | PHP Forum | 11 | Jun 17th, 2007 00:16 |
| Inserting an array into a database. | Gup | Classic ASP | 2 | Aug 10th, 2006 08:49 |
| inserting data to mysql db | Tim356 | PHP Forum | 1 | May 6th, 2005 04:20 |