Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2006

Tip: Looking for answers? Try searching our database.

JavaScript's document object properties and methods missing in the IntelliSense

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George Jordanov Ivanov - 27 Feb 2006 23:27 GMT
Folks,

Today I've been playing with some client-side scripts in Visual Studio 2005.
I created a new .JS file and started typing new functions. But what amazed
me was that in the first point I couldn't find document object in the VS2005
IntelliSense for that .JS file. Either if I write the document object by
myself, I furthermore can't see the methods and properties of this very
fundamental JavaScript object (methods like getElementById(),
createElement(), etc.).

Does Visual Studio have any support for the intristic objects of JavaScript
at all or is it something wrong within my settings?
Regards,
George Jordanov Ivanov
"Gary Chang[MSFT]" - 28 Feb 2006 06:19 GMT
Hi George,

>Does Visual Studio have any support for the intristic objects of
>JavaScript at all or is it something wrong within my settings?

yes, the Visual Studio 2005 still has Javascript intellisence to some
extent. But it does not provide a JavaScript editor, so the intellisence
will not apply to your JavaScript source code when you open a .js file
directly in the VS2005 IDE.

If you use the javascript code inside an asp.net/html file, the
intellisence would work as expected. :)

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006.  Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
George Jordanov Ivanov - 28 Feb 2006 16:56 GMT
Thanks Gary!
Regards,
George Ivanov

> Hi George,
>
[quoted text clipped - 29 lines]
> rights.
> ======================================================
"Gary Chang[MSFT]" - 01 Mar 2006 01:58 GMT
You are welcome, George!

Good Luck!

Best regards,

Gary Chang
Microsoft Community Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD will be updated at 9:00
AM PST, February 14, 2006.  Please complete a re-registration process by
entering the secure code mmpng06 when prompted. Once you have entered the
secure code mmpng06, you will be able to update your profile and access the
partner newsgroups.
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
Joe Fawcett - 01 Mar 2006 12:18 GMT
> Folks,
>
[quoted text clipped - 10 lines]
> Regards,
> George Jordanov Ivanov

Do you mean a stand alone js file?
In that case you will get IntelliSense, e.g.:
var oDom = new ActiveXObject("Msxml2.DomDocument.4.0");
oDom. => choices appear
But you won't get external objects made available by the host, e.g. the
window object in an HTML page, because these are not built in JavaScript
classes. These will only appear if you're editing code within an HTML page.

Signature

Joe


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.