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