How to have an "empty" hyperlink for javascript

by Lara Fabans <lara(at)flashcom.net>

 Date:  Sun, 14 May 2000 21:09:30 -0700
 To:  hwg-languages(at)hwg.org
  todo: View Thread, Original
Hi,
For a client, I'm going to use HTML::CalendarMonth to generate
a calendar. I want to replace the days with empty hyperlink
such that when you click on it, the day's events show up
in a text area below (like Hypercal, but I'm using mysql & DBI)
So, I've done a bunch of searching in books, and it could be the rain
is making my grey cells into mush, but I can't find out what to
do if you just want some text that people can click on & then
update another area. (see, I can't even explain it clearly).
So, in the calendar, if I click on the 3 in the calendar,
for onClick, I want to call a function that sets the value
of this.form.showData.value = $data[3] (i've pulled
the data into an array)
Would I just use <a href="" onclick="myFunction($day)">
I'm having problems accessing the locally compiled perl modules,
so I can't test this & while I'm debugging that issue, I want to
continue on with the programming.
Thanks!Lara

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA