<script type="text/javascript">
window.onload = function () {
var oTextbox = new
AutoSuggestControl(document.getElementById("txtManagers"), new
ManagerSuggestions());
}//adocument.getElementById("txtProfileID"),
</script>
</head>
<body>
<p>ManagerName:<input type="text" id="txtManagers" /> </p>
Once I implement this code into my main code, which contains vbscript
in between the input and the javascript code. The window.onload
doesn't get called. My layout on my main code is
basically...javascript, vbscript, input tag.
Please, help!
sk
Try ...javascript, vbscript, javascript, input tag.
Better, though, to replace the VBscript with javascript; few browsers
handle VBscript.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.