12 Oct
2002
12 Oct
'02
4:27 p.m.
If I defined variables in my ZPT using tal:define, how do I pass these variables to a javascript function without getting an error? My attempt (obviously wrong): <td tal:define="itemId item/id; code item/code"> <a style="color:dodgerblue" tal:define="url string:${request/URL1}/processDeleteItem?itemId:int=$itemId&code=$code" href="javascript:doNothing()" onClick="javascript:confirmDelete('string:$code', 'string:$url')"><img src="/ItemManager/images/delete_icon" border="0"></a> </td> Thanks, Karen --------------------------------- Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com