Hello,
I have finally gotten my intended javascript function to launch within a ASP.Net webpage utilizing an Ajax UpdatePanel.
However now I have another issue regarding the execution of previously working code.
Previously I was able to 'look' for various Form objects by using the: getElementsByTagName("input");
That code still executes fine, but the results are now different.
var elemInputs = document.getElementsByTagName("input");
for(var i = 0; i < (elemInputs.length-1); i++)
Now that very same code no longer 'sees' the form's input objects, thereby preventing me from doing what I need to do.
If anyone has any suggestions/advice on what needs to be changed to enable this to work it would be greatly appreciated.
Thanks,
JRB-Bldr
I have finally gotten my intended javascript function to launch within a ASP.Net webpage utilizing an Ajax UpdatePanel.
Just for a VB.Net FYI it took: ScriptManager.RegisterClientScriptBlock(TryCast(sender, Control), Me.GetType(), Guid.NewGuid().ToString(), "startUpScript()", True)
Finding that was a challenge!However now I have another issue regarding the execution of previously working code.
Previously I was able to 'look' for various Form objects by using the: getElementsByTagName("input");
That code still executes fine, but the results are now different.
var elemInputs = document.getElementsByTagName("input");
for(var i = 0; i < (elemInputs.length-1); i++)
JavaScript:
{
var inputField = elemInputs[i].name;
if(inputField.indexOf('chkLot') == 0) {
// --- Here I was [u]Previously[/u] able to do what I need to do ---
// --- [u]NOW[/u] the very same code no longer 'sees' any of these form objects ---
}
}
Now that very same code no longer 'sees' the form's input objects, thereby preventing me from doing what I need to do.
If anyone has any suggestions/advice on what needs to be changed to enable this to work it would be greatly appreciated.
Thanks,
JRB-Bldr