![]() Topic awaiting preservation: what gives (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
![]() I have a simple js function. To simple to even display. |
Maniac (V) Inmate From: there...no..there..... |
![]() how bout going ahead and posting the script and the way that you are including it in the file. |
Paranoid (IV) Inmate From: London |
![]() 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 |
![]() 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: |
![]() 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); } |