struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <jakartau...@yahoo.com>
Subject RE: How to convert <A href> tag to a submit button
Date Fri, 11 Jun 2004 18:21:16 GMT
So it's the 'return false' statement that makes your links different from
Sandhya's.

--- Wendy Smoak <Wendy.Smoak@asu.edu> wrote:
> > From: Hubert Rabago [mailto:jakartauser@yahoo.com] 
> > I think your problem is that the link itself goes somewhere 
> > instead of just
> > calling the JS function.  Why don't you try something like
> > <html:link href="javascript:attSubmit()">attName</html:link>
> > or even just a regular, non-struts tag, link?
> 
> I think the "javascript:function()" syntax is frowned upon by JavaScript
> purists...
> 
> My links turn out looking like this:
> <a href="noscript.html" title="Manual Lookup"
> onclick="advancedTab();return false;">Manual Lookup</a>
> 
> Where 'noscript.html' is a page that people never see.  Well, unless
> they hava JavaScript turned off, in which case they never would have
> gotten this far in my webapp.
> 
> Wendy Smoak
> Application Systems Analyst, Sr.
> ASU IA Information Resources Management 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message