BUG: IntelliSense Statement Might Not Work with Inline ScriptID: Q191046
|
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.
This issue arises when the HTML tags of the element that you are composing
inline script for 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 <button> tags need to exist before IntelliSense can
work.
Also, when you compose inline script for an element, IntelliSense might not
work if the element has not been assigned a name or ID.
Before composing inline script for an element, you need to 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 quotes (single or double quotes), make sure both the opening and closing quotes exist before you start typing any script.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
Here are some examples in which IntelliSense does not work:
<button id=myBtn onclick=
<button id=myBtn onclick=" ">
<button onclick= >Push</button>
<button id=myBtn onclick=' >Push</button>
<button id=myBtn onclick=' '>Push</button>
<button onclick="window.
RESULT: The List Members dialog box does not appear.
Additional query words:
Keywords : kbVisID600 kbVisID600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 24, 1999