How do I use Javascript with my Struts forms?
Location: http://www.jguru.com/faq/view.jsp?EID=471945 Created: Aug 8, 2001 Author: Ted Husted (http://www.jguru.com/guru/viewbio.jsp?EID=462042) The relevant HTML tags provide support for the Javascript event handlers onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup. For more about Javascript events, see the Netscape Javascript Reference guide. For more about HTML tags, see the Struts HTML Tag Guide. As usual, the Javascript itself can then be placed: • Inline, if it is simple enough, like onclick=”history.go(-1)” • As a