No, .innerhtml doesn't seem to work. I've tried it with a
no success. However, putting in a hidden server field, and getting the innerhtml from the div in javascript works, BUT I get an "UNKNOWN ERROR" popup-window when trying to set the hid1.value = div's inner html! I tried setting .value = 'test'; WORKS FINE Why is that '''''heres some code'''' var strHTML = ""; strHTML = document.getElementById('<%=divTables.ClientID% ').innerHTML.toString(); alert(strHTML); //just a test document.getElementById('<%=hid1.ClientID%>').value = strHTML.toString(); //then it breaks. but if its a different string, it works please help
Regards, Tintin