sj:tabbedpanel javascript

2013-08-09 Thread john lee
  try to using javascript to set sj:tabbedpanel's attribute, but not working   what is the correct format for access attribute sj:tabbedpanel's atrtribute in javascript?   thanks in advance   John         function setpartmoreinfo(id) {     $("#Cross").tabs( "option", "partmoreinfo_id", id);  

Re: sj:tabbedpanel javascript

2013-08-09 Thread Chris Pratt
Use the "View Source" feature in your browser to see what's being generated, then you should be able to see for yourself how to use JavaScript to interact with the on-screen components. (*Chris*) On Fri, Aug 9, 2013 at 10:25 AM, john lee wrote: > > try to using javascript to set sj:tabbedpane

Re: sj:tabbedpanel javascript

2013-08-09 Thread john lee
thanks for reply,   i did view source before ask question here, but sj:tabbedpanel convert into jquery, even view source, still not match.   john From: Chris Pratt To: Struts Users Mailing List ; john lee Sent: Friday, August 9, 2013 12:43 PM Subject: Re: s

Re: sj:tabbedpanel javascript

2013-08-09 Thread Chris Pratt
I have no idea what you mean. The sj:tabbedpanel generates HTML Elements and some jQuery based JavaScript. It'll all be there in the source. What's not "match"ing? (*Chris*) On Fri, Aug 9, 2013 at 11:00 AM, john lee wrote: > thanks for reply, > > i did view source before ask question here,

Re: sj:tabbedpanel javascript

2013-08-09 Thread john lee
view source   the related option for jquery(after sj_query convert into jquery), it shows following  jQuery(document).ready(function () { var options_partmoreinfo = {}; options_partmoreinfo.jqueryaction = "tabbedpanel"; options_partmoreinfo.id = "partmoreinfo"; options_partmoreinfo.