in reply to Perl/CGI/Javascript Problem
An anchor (A) tag needs a HREF attribute to be considered a link. If you want to execute javascript code on a click, don't use an anchor tag. Use a SPAN tag with style settings to make it stand out as a link. The anchor tag can take a TARGET attribute that will open a new window if the named target window doesn't already exist.
Remember that anchor tags can also create named anchors within pages with the NAME attribute. These anchors don't get any special visual effects and don't react to mouse clicks.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl/CGI/Javascript Problem
by b310 (Scribe) on Mar 04, 2003 at 20:03 UTC | |
by poj (Abbot) on Mar 04, 2003 at 21:48 UTC | |
by b310 (Scribe) on Mar 04, 2003 at 22:04 UTC | |
|
Re: Re: Perl/CGI/Javascript Problem
by iguanodon (Priest) on Mar 05, 2003 at 11:33 UTC |