hi
i have this code:
var editor1 = document.getElementById('<%=Editor1.ClientID%>');
var relativeZoom = (val * 1.0) / (lastZoom * 1.0) ;
lastZoom = val;
var h = editor1.clientHeight;
var w = editor1.clientWidth;
h = h * relativeZoom;
w = w * relativeZoom;
editor1.clientWidth = w;
editor1.clientHeight = h;
the last 2 lines causes error in run time, can u advice how to set these properties?