D
Darrel
I have a repeater control. Within it, I have a quoted HTML attribute that
contains a quotes javascript variable stsring which contains my asp.net tag.
To prevent nested quote issues, I have to write it like this:
<a href="javascript:;" onclick=<% response.write("""")
%>window.opener.document.getElementById('src').value='/slides/SM/<%#
DataBinder.Eval(Container.DataItem, "filename")
%>';javascript:window.close();<% response.write("""") %>><b>[sm]</b></a>
Is there a more elegant solution?
-Darrel
contains a quotes javascript variable stsring which contains my asp.net tag.
To prevent nested quote issues, I have to write it like this:
<a href="javascript:;" onclick=<% response.write("""")
%>window.opener.document.getElementById('src').value='/slides/SM/<%#
DataBinder.Eval(Container.DataItem, "filename")
%>';javascript:window.close();<% response.write("""") %>><b>[sm]</b></a>
Is there a more elegant solution?
-Darrel