S
shookim
I have a problem with my javascript code. The window.onload function
doesn't get called when there is vbscript between the two. Here is my
code which works:
<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
doesn't get called when there is vbscript between the two. Here is my
code which works:
<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