Remember that struts tags are rendered server-side and all you have
left on the client side is HTML. So you can't "communicate" with the
struts tags from JavaScript (which runs in the browser). You have to
use JavaScript to manipulate the DOM that is created from the
generated HTML.

Nils-H

On Fri, Dec 5, 2008 at 11:47 AM, Greenhorn2005 <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
>  I am having a peculiar problem. How do i assign the values from javascript
> to struts tag.
> consider as an example.... Suppose I have a javascript in a jsp page that
> contains lots of struts tags..... from javascript based on some
> formula.....i assign a list of  values say 1,2,3 and want to assign it to
> <s:select > tag.... so that the select tag displays 3 options 1,2, and 3..
>
> hope i made myself clear. help me to clear the doubts..
>
> Thanks.
> Green horn.
> --
> View this message in context: 
> http://www.nabble.com/assigning-values-from-javascript-to-struts-tag-tp20851497p20851497.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to