VBSCRIPT in between JAVASCRIPT and an INPUT TAG Pr
I have a problem with my code. My window.onload function
doesn't get called when there is vbscript between the javascript code and my input tag. Here is my code which works:
<script type="text/javascript">
window.onload = function () {
var oTextbox = new
AutoSuggestControl(document.getElementById("txtMan agers"), 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. Is there some understood problem with having vbscript in between these two items that would cause it not to be called?
Please, help!
sk
|