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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -