Hi All, In my application, the JSP page displays a list of items with hyperlinks. When i select one particular item, then that item/element should be rendered according to the style being defined. Below is the code shown:
<s:a href="javascript:submitFormMenu('/fps/admin/viewHome.action');">Home</s:a></li> <s:a href="javascript:openTOCHelp('/fps/manual/fpsadmin.htm');">User Manual</s:a> <s:a href="javascript:submitFormMenu('/fps/h/viewSupport.action');" >Support</s:a> The style which i am including is: color: #ce122c; font-weight:bold; I'm confused as how to use onselect attribute of <s:a> tag to render the html element with the given style when user clicks on a particular link or item. If there is any other way, pls let me know ASAP. Thanks, Tajuddin