On Thu, April 13, 2006 12:26 pm, Michael Jouravlev said: > Or generate the target location in JSP like this: > > <script language="javascript"> > var mytarget = <html:rewrite action="/PrepareSchedule.do"/> > </script>
That's a good option too. > Then look up for target in your main Javascript function. I guess it > would be easier to "attach" target to some well-know object like > window, for example: window.mytarget = <html:rewrite > action="/PrepareSchedule.do"/> FYI, I have experienced some problems with custom attributes on objects in some browsers. I suggest always using setAttribute()/getAttribute when working with custom attributes. Seems to be more cross-browser-friendly at this point. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]