Topic awaiting preservation: what gives |
|
---|---|
Author | Thread |
Obsessive-Compulsive (I) Inmate From: |
posted 09-07-2005 23:25
I have a simple js function. To simple to even display. |
Maniac (V) Inmate From: there...no..there..... |
posted 09-08-2005 01:23
how bout going ahead and posting the script and the way that you are including it in the file. |
Paranoid (IV) Inmate From: London |
posted 09-08-2005 11:20
It does sound like you've not linked to the file correctly, have you double checked your paths and case? |
Bipolar (III) Inmate From: London |
posted 09-08-2005 16:01
Make sure you don't include the <script> tags in the .js file - they are not needed, and will cause errors. |
Obsessive-Compulsive (I) Inmate From: |
posted 09-09-2005 01:43
Newbee to javascript... and I overlooked that the jsp that had the function directly on the page was contained in an iframe. When I moved the js function to a js file the same script was used by the jsp page containing the iframe. code: function displayWindow(url, width, height) { parent.displayWindow(url, width, height); } |