java - how to call javascript function when I click on a node in jquery tree -
i ask help.
i write code following when click node call java action method :
<sjt:tree id="treedynamicajax" jstreetheme="apple" rootnode="#session.unt_list" childcollectionproperty="children" nodetitleproperty="title" nodeidproperty="id" openallonload="true" nodehref="popuntsel!selectunit.action" nodehrefparamname="g_selected_uid" ></sjt:tree>
it ok call action method. have no idea call javascript function when click node , how can know unit id value in javascript???
here ref link struts2 jquery tree : http://struts.jgeppert.com/struts2-jquery-showcase/index.action
thanks in advance !!!
Comments
Post a Comment