Hello Magnus,
<td onClick="alert(this.innerText);">Text to be displayed</td>
Friday, November 23, 2001, 2:58:01 PM, you wrote:
MT> Hi Guys,
MT> Is is it possible to read a line of Text into Javascript? what I mean in
MT> I have have written a bit of VBScript to creat a table with items in a
MT> database. I would like it that when the user clicks on the name of the
MT> item a little alert box pops up with the words that they clicked on. So
MT> for example if the table had the entries A,B,C in it and the user clicked
MT> on B an alert box shows the letter B. I have tried passing the <a href>
MT> object into the javascript function and tried displaying that but it
MT> doesnt seem to work.
MT> any ideas?
MT> Cheers
MT> Magnus
MT> ---
MT>
MT>
--
Best regards,
Konstantin Sokolovskiy (mailto:ske@u...)
ICQ# 44424442