Re: onclick does not fire event for table row

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It would help to post a complete [non]working example of the problem you're having.
Who knows what's going on in your "myscript" procedure ?

--
Tim Williams
Palo Alto, CA


"caglaror" <caglaror@xxxxxxxxx> wrote in message news:1156273447.900975.293660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
That is probably design problem of w3c. They planned that TR is only 1
dimention so it cant be clicked. But TD is 2D so it can!
You may use div around tr tag but absolute answer to put onclick to
every TD tag.
Caglar ORHAN (caglaror)
lvcha.gouqizi yazdi:
Hi all,

I've been stuck with a bug in my vbscript. I want to show a dialog from
my html page which was implemented by a onclick vbscipt on a table row
like below. This dialog could be hidden by other dialogs. So I want to
bring it to the front when I click mytext again.

<table width="60%">
<tr><td onclick="myscript">mytext</td></tr>

The fact is that for the first time, onclick works well. However, if I
keep the pop-up dialog open and hit the text again, only the text will
get selected. The dialog is never brought to the front.

Any idea will rock!

lvcha



.



Relevant Pages

  • Re: onclick does not fire event for table row
    ... dimention so it cant be clicked. ... You may use div around tr tag but absolute answer to put onclick to ... Caglar ORHAN (caglaror) ...
    (microsoft.public.scripting.vbscript)
  • Re: onclick does not fire event for table row
    ... Tim Williams wrote: ... You may use div around tr tag but absolute answer to put onclick to ... Caglar ORHAN (caglaror) ...
    (microsoft.public.scripting.vbscript)
  • Re: events and image
    ... tag which is clickable? ... Testing image: ... 'javascript:' is not needed for onclick ... "The most convoluted explanation that fits all of the made-up facts is ...
    (comp.lang.javascript)
  • need to change src attr of a destination image from one this clicked on
    ... Inside of an img tag I have an onclick that fires a function. ... function is supposed to change the src of a larger image elsewhere on ...
    (comp.lang.javascript)
  • Dynamically create a tag with onclick
    ... i've looked around but i can't find how to create an A tag with a ... onclick to remove a row in a table. ... get it to create a link in the last coloumn to click to remove the row. ... Prev by Date: ...
    (comp.lang.javascript)