BUG: IntelliSense Statement Might Not Work with Inline Script

ID: Q191046


The information in this article applies to:
  • Microsoft Visual InterDev, version 6.0


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 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.


RESOLUTION

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.


STATUS

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.


MORE INFORMATION

Here are some examples in which IntelliSense does not work:

  • Missing closing angle brace, and missing </button> tag:
    
          <button id=myBtn onclick= 


  • Missing </button> tag:
    
          <button id=myBtn onclick="   "> 


  • Missing id:
    
          <button onclick=  >Push</button> 


  • Missing closing quote:
    
          <button id=myBtn onclick='  >Push</button> 


Following is an example that does work:

   <button id=myBtn onclick='  '>Push</button> 

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.

Additional query words:

Keywords : kbVisID600 kbVisID600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: May 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.