I have a script like this:
function clickWindowOpen(){
with (frmCallXX){
var res = efOutput.value;
var newWindow = window.open("","new"
;
newWindow.document.open("text/xml"
;
newWindow.document.write(res); }
}
efOutput.value is XML data in string. I need to open a window and display the XML data in collapse-expand fashion. The above script only displays the text value of XML.
Can anybody help me?
Thanks.
function clickWindowOpen(){
with (frmCallXX){
var res = efOutput.value;
var newWindow = window.open("","new"
newWindow.document.open("text/xml"
newWindow.document.write(res); }
}
efOutput.value is XML data in string. I need to open a window and display the XML data in collapse-expand fashion. The above script only displays the text value of XML.
Can anybody help me?
Thanks.