var Obj= window.parent.document.getElementById("ctl00_RightTopTree_hidJsonResult"); Obj.value = '<%=hidDtJson%>'.replace(/\/g, "/");