<s:submit type="image" alt="Unlocked" src="/residentrn/images/accept.png"
onclick="%{\"$('\" + #foo + \"').request(); return false;\"}" />
Security Management wrote:
>
> Can someone suggest a way to do this:
>
> <s:submit type="image" alt="Unlocked" src="%{unlocked_image}"
> onclick='$("<s:property value="#foo"/>").request(); return false;'/>
>
> I have tried a bunch of ways, but always wind up with the <s:property...
> in the resulting HTML, rather than '$("form1").submit()' like I need.
>
> Thanks
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/Help-with-JSP-and-javascript-tp24430017p24437333.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]