unable to bind jquery template in aspx page

Posted by Sahoo under jQuery on 1/12/2012 | Points: 10 | Views : 1356 | Status : [Member] | Replies : 0
I have a template that bind to a delete button.But when ever there is a space between the name of folder it creates probleam to pass it as argument as it insert html inside it.

my output is

<img title="Delete" class="hand" onclick="deleteDocument('Chrysanthemum" src="Images/delete.bmp" -copy.jpg?)=""/>

but i want it in this way

<img title="Delete" class="hand" onclick="deleteDocument('Chrysanthemum -copy.jpg')" src="Images/delete.bmp"/>
my code is like
<img class='tt' title='Delete' src='delete.bmp' onclick=deleteDocument('${document}') />

thank in advance


(No response found.)

Login to post response