Hello guys!
when i try to
echo '<td width=25 align=center><input type=image class=icon src=Pics/delete.gif alt="Delete" onClick=dodelete('.$name.','.$id.') /></td>';
the code runs but on click only the 1st word in string $name is passed through, like dodelete(1stword
dodelete is a js function defined in <head>
Any suggetions would be appreciated:
Andras
Last edited by bodiandras : 04-21-2008 at 01:51 PM.
|