This is a discussion on "load javascript file" within the JavaScript Forum section. This forum, and the thread "load javascript file are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
load javascript file
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
load javascript file
i am using the following code:
the code isnt doing what it should be, i dont get a prompt box appear, just a page with background... can anyone help Last edited by karinne; Apr 24th, 2007 at 16:43. Reason: Please use [code]...[/code] tags when displaying code! |
|
|
|
|||
|
Re: load javascript file
I don't understand what you're doing? You're linking to an external file, yet you say that the JavaScript is in the head?
Please clarify what you have currently or post a link? |
|
|||
|
Re: load javascript file
I believe he means he's putting the
The JS code seems fine i guess, but try changing it to
/js/ being a folder new folder name where the script is held. |
|
||||
|
Re: load javascript file
also, you need to use window.location = "..."
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: load javascript file
call me daft - but why are there script tags around JavaScript in an external file?
|
|
|||
|
Re: load javascript file
That's what I was wondering, useless .. but as it doesn't effect the script .. meh.
|
|
|||
|
Re: load javascript file
to my mind the tags should break it, as they're not vaid JavaScript?
|
|
||||
|
Re: load javascript file
what? the tags are on the external file? non-sense.
That's an error, script will not run...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Tags |
| java |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jpg load via xml file quality settings | ahwell | Flash & Multimedia Forum | 9 | May 14th, 2008 23:25 |
| Load External .JS File Before Anything Else | tox0tes | JavaScript Forum | 1 | Jul 10th, 2007 14:03 |
| SWF file refusing to load up | griffonwing | Flash & Multimedia Forum | 1 | Jun 27th, 2007 20:40 |
| The swf file doesn't load properly outside flash | Sanoriah | Flash & Multimedia Forum | 3 | Nov 16th, 2006 18:02 |
| Load .swf file with External text in Another Flash document | ien | Flash & Multimedia Forum | 3 | Aug 31st, 2006 14:29 |