Javascript and intelli-sense (or type-ahead)

Does anyone have a good solution to developing javascript and taking advantage of intelli-sense. Domino designer doesn’t do it for javascript.

However there are other tools out there - best thought I have is that you could create a .js file and add it as a shared file resource. then you can either edit via the notes client file resource editing features or go a step further and use WebDAV. This would allow you to use a good javascript editor.

trouble then is how do you include the .js file on a form. because it is a .js file seems you simply can’t insert the file resource direct and you cannot insert it into the js header like a javascript library.

anyone any ideas or another way to approach this?

cheers,

scott

Subject: Javascript and intelli-sense (or type-ahead)

The include is easy (on the web). In the HTML Head Contents object, put this formula:

“<script language="javascript" type="text/javascript" src="http://” + @GetHTTPHeader(“Host”) + “/” + @WebDbName + “/myfile.js">”

Using the absolute URL that way, you never have to worry about whether the form is being called as a document, as a form, or even as a $$Template for a database launch object (like a Navigator). (Each of these appears to be at a different “directory level” to the browser.) And there are no fields involved in Domino 6, so you can use it on pages as well.