Instead of having the tags just write the HTML, also include a 

<script type="text/javascript">

  // in here put your iterate tags whether they be JSTL or struts

  // then just use the standard javascript event handler to modify the pages.

</script> 

add onchange attributes to the form elements to call the javascript functions.

Tim

> -----Original Message-----
> From: R Sridhar [mailto:[EMAIL PROTECTED]
> Sent: 03 June 2004 06:13
> To: Struts Users Mailing List
> Subject: struts java script problem
> 
> 
> Hi,
> 
> The solution u have given works fine to populate the list item. But what i
> want is to change the contents of list item when some of the list item
> selection or some check box status changes. And moreover when some value
> entered in text box based on that input i would like to fill the other text
> fields with appropriae values taken from database. how can i do this.
> 
> please help me.
> 
> Sridhar





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to