PDA

View Full Version : how can i send event object with php string?



reazrana
09-17-2007, 06:21 AM
$tree_string .= "<tr class='td-data-blank'><td idth= 40 ></td><td idth= '100%' id='s_$subroute_id' align='left' onclick='clickOnElement(event)' class=bsmall style='color:#ffffff;cursor:pointer'>$subroute_name</td></tr>";


i want to send event object in clickOnElement(). how can I??

boogyman
09-17-2007, 12:25 PM
$tree_string .= "<tr class='td-data-blank'><td idth= 40 ></td><td idth= '100%' id='s_$subroute_id' align='left' onclick='clickOnElement(this)' class=bsmall style='color:#ffffff;cursor:pointer'>$subroute_name</td></tr>";