You have too many nested quotes.  Take out the inner nested double quotes. Try:
<a href="javascript:void()"onclick="submitForm('searchform', '<html:rewrite 
action=showFVKNAdminView />')">show Form Value Key Names</a>
I don't know if Struts will complain about this, I know it's not XML compliant 
but it might 
be the best you can do unless you write the url manually.

Also, you can prove the problem is not the href entry by changing it to 
href=#top or 
some other url string.  The javascript should then correctly identify the 
problem as being 
in the submitForm() function.

Kind regards
mc

On 10 Sep 2005 at 10:16, ojay78 wrote:

> 
> 
> HI, 
> What is with my a href wrong`? I tried several other solutions like 
> javascript:void(0) or 
javscript:; 
> but I get always a syntax error in the Javascript console. I tried it with 
> firefox, IE and 
avant 
> browser always the same failure
> 
> td class="button"><a 
> href="javascript:void()"onclick="submitForm('searchform', 
'<html:rewrite 
> action="showFVKNAdminView"/>')">show Form Value Key Names</a></td>
> 
> Thanks
> 
> 
> 
> 



FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.20/95 - Release Date: 9/09/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to