Re: Calling Jscript inside a Modal Window
From: Martin Honnen (Martin.Honnen_at_t-online.de)
Date: 02/08/04
- Next message: smr78: "Re: Visual Basic Val function equivalent"
- Previous message: Roland Hall: "Re: Calling Jscript inside a Modal Window"
- In reply to: Joey: "Calling Jscript inside a Modal Window"
- Next in thread: Lasse Reichstein Nielsen: "Re: Calling Jscript inside a Modal Window"
- Reply: Lasse Reichstein Nielsen: "Re: Calling Jscript inside a Modal Window"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 08 Feb 2004 12:13:42 +0100
Joey wrote:
> I'v gotta modal window called using - window.ShowModalDialog("MyPage.aspx")
> Inside this page I'v got an "a href" calling a java script inside the modal
> dialog
> But when click the a href, instead of running the script, the modallic
> window opens a new window looking for my Java script function
Don't use
<a href="javascript: code">
simply use
<a href="#"
onclick="code; return false;">
-- Martin Honnen http://JavaScript.FAQTs.com/
- Next message: smr78: "Re: Visual Basic Val function equivalent"
- Previous message: Roland Hall: "Re: Calling Jscript inside a Modal Window"
- In reply to: Joey: "Calling Jscript inside a Modal Window"
- Next in thread: Lasse Reichstein Nielsen: "Re: Calling Jscript inside a Modal Window"
- Reply: Lasse Reichstein Nielsen: "Re: Calling Jscript inside a Modal Window"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|