Hello,
I'm trying to get my custom renderer work with DirectLink. What I'm trying to
do is achieve something like this:
<a href="javascript:if(confirm('Are you sure about
something?')){document.location.href='SOME_URL';};">LINK</a>
When I try to write all this stuff as an attribute
(IMarkupWriter.attribute("href", javascripPart)), by some reason each space in
javascript is separated in tag as a different attribute. If I use
attributeRaw(), those spaces are converted to %xx stuff.
So neither of previously mentioned methods work for me. Is there a clean way to
add javascript to attribute which would be treated as javascript? Any
suggestions are welcome.
Thanks,
Audrius