Microsoft KB Archive/191046

= BUG: IntelliSense Statement May Not Work with Inline Script =

Article ID: 191046

Article Last Modified on 10/15/2002

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q191046



SYMPTOMS
Sometimes the IntelliSense features of the editor (that is, List Members, Parameter Info, and Complete Word) do not work when you are composing inline script.



CAUSE
This issue arises when the HTML tags of the element for which you are composing inline script have not been fully composed. For example, if you are attaching inline script to the onclick event of a button element, both the opening and closing tags need to exist before IntelliSense can work.

Also, when you compose inline script for an element, IntelliSense may not work if the element has not been assigned a name or ID.



RESOLUTION
Before you compose inline script for an element, make sure that the HTML tag is properly composed and that any required closing tags are present. Also, make sure that the element has an ID. Additionally, if you want to enclose the inline script within quotation marks (either single or double quotation marks), make sure that both the opening and closing quotation marks exist before you start to type any script.



STATUS
This behavior is by design.



MORE INFORMATION
Here are some examples in which IntelliSense does not work:   Missing closing angle brace, and missing tag:   Missing tag:    Missing id: Push   Missing closing quote: Push </li></ul>

Following is an example that does work: <button id=myBtn onclick=' '>Push

Steps to Reproduce Behavior
In Source view, type the following text in the body of an HTML page: <button onclick="window. RESULT: The List Members dialog box does not appear.

Keywords: kbbug kbide kbpending KB191046

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.