P
pamelafluente
Hi guys,
I am trying to add some code in the body of a document just
after it has loaded. I have the following code (this is referenced in
an html page).
When I click on the document I receive this error: "realSrc is null"
I guess I am not doing correctly the part of dynamic code. Can you help
?
//-------------------------------
var submitURL = "../../MyEngine/MyProcessor.aspx";
var HiddenFieldID = "actionCodes";
window.onload = addCellHandlers;
function addCellHandlers() {
//some code here to add some dynamic handlers
document.body.innerHTML += "<form name='form1'
method='get'><input type='hidden' id=" + HiddenFieldID + "/></form>"
document.form1.action = submitURL;
window.status = "Handlers attacched";
}
//-------------------------------
I am trying to add some code in the body of a document just
after it has loaded. I have the following code (this is referenced in
an html page).
When I click on the document I receive this error: "realSrc is null"
I guess I am not doing correctly the part of dynamic code. Can you help
?
//-------------------------------
var submitURL = "../../MyEngine/MyProcessor.aspx";
var HiddenFieldID = "actionCodes";
window.onload = addCellHandlers;
function addCellHandlers() {
//some code here to add some dynamic handlers
document.body.innerHTML += "<form name='form1'
method='get'><input type='hidden' id=" + HiddenFieldID + "/></form>"
document.form1.action = submitURL;
window.status = "Handlers attacched";
}
//-------------------------------