Hi,

 

I have a basic question. I created an element with org.w3dom. Then I try to add an eventhandler

 to an element, like;

 

org.w3.dom.Element a = document.createElementNS(null, "circle");
a.setAttributeNS(null, "onclick","openWin(\'punkt_id\')");

 

But the code doesn't print the single quotes. Instead it prints something like, "

 

 

I think it should be somethink easy but I coundn't achive in this. I also googled, but I coudn't find anything applicable to this...

Can you please give me an advice how to print these single quotes ?

 

Thank you..

Regards

Baris

Reply via email to