This is kind of off topic, but as AJAX developers most of us should be pretty good with _javascript_. Maybe I am not so good, but I wonder if anyone has encountered similar probelms with the script pasted below. Works in Firefox, but causes an "unknown runtime error" in IE as soon as I try to set the innerHTML. Granted I haven't tinkered much with using innerText or adding DOM elements to the script DOM object.
Thanks in advance.
Jon
var script = document.createElement("script");
script.setAttribute("type", "text/_javascript_");
script.innerHTML = "var dd = new YAHOO.example.DDResize ('" + name + "', '" + name + "_handle','panelresize');";
script.innerHTML += "var dd2 = new YAHOO.util.DD('" + name + "', 'paneldrag');";
script.innerHTML += "dd2.addInvalidHandleId ('" + name + "_handle');";
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---
