DOCUMENT:Q179262 10-AUG-2001 [frontpg] TITLE :FP: JavaScript Moves from to Element PRODUCT :Word Front Page PROD/VER:WINDOWS:1.1,97 OPER/SYS: KEYWORDS:kbusage kbdta ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft FrontPage 97 for Windows with Bonus Pack - Microsoft FrontPage for Windows 1.1 ------------------------------------------------------------------------------- SYMPTOMS ======== When you insert JavaScript between the and tags in the HyperText Markup Language (HTML) source, FrontPage moves the script between the and tags. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft FrontPage 98 for Windows. WORKAROUND ========== To preserve the script within the and tags, edit your file in a text editor, such as Notepad and add the script. NOTE: If you reopen the page in FrontPage Editor, the script will be repositioned between the and tags and you will need repeat these steps. 1. In FrontPage Explorer, right-click the file that contains the script and then click Open With on the menu that appears. 2. Click Text Editor (notepad.exe) and then click OK. 3. Place the script between the and tags. 4. On the File menu, click Save. 5. On the File menu, click Close. Additional query words: fpeditor jscript java ====================================================================== Keywords : kbusage kbdta Technology : kbFrontPageSearch kbFrontPage1xSearch kbFrontPage97Search kbZNotKeyword3 kbFrontPage110 Version : WINDOWS:1.1,97 Hardware : x86 Issue type : kbbug Solution Type : kbfix ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.