Re: accessing table cell programmatically




"Patrice" <http://www.chez.com/scribe/> wrote in message
news:%23aI$N5K6HHA.1168@xxxxxxxxxxxxxxxxxxxxxxx
Be more accurate please.You can change the content of a cell using
MyTD.innerHTML='whatever'; or you can trigger some JavaScript code by
handling the table cell events, but it doesn't mean you have to place
those scripts "inside" the table cell.

Explain perhaps a bit more what you are trying to do. If you are familiar
with JavaScript, what is the problem you run into compared with what you
are usually doing

--
Patrice

"ma" <ma@xxxxxxxxxxx> a écrit dans le message de news:
utF1Q0K6HHA.5184@xxxxxxxxxxxxxxxxxxxxxxx
Hello,



I want to inject a piece of JavaScript inside a table cell. How can I do
this?

The table is statically created on master page.



Regards






Hello,

I want to use this graph object in my asp code:

http://www.codeproject.com/jscript/dhtml_graph.asp



If I add the text from this demo (the code which is provided on the web and
shows how to use the graph), I can see the graph on web site. I also add it
to the cell that I want to display and I got the result. I want to create
the code based on my data and then set it in a way that it appears on the
specific place (inside a cell ) but I am not successful. Any suggestion?



Regards





.



Relevant Pages

  • Re: Can anyone help me?
    ... javascript make little triggers on user actions like ... Java is used to make applets. ... >> In the second column I have merged all six cells into one cell and there ...
    (comp.lang.java)
  • Re: how to prevent unnecessary table resizing
    ... With neither quill nor qualm, ... >> What do you want it to do, break after the first soft line break? ... I want cell width to be automatic. ... A javascript example of converting all whitespace to spaces is: ...
    (alt.html)
  • Re: Excel <> HTML Web page - How ?
    ... What is the requirement to use Javascript? ... tex input box to a cell in Excel file ... >> slide bar the value in an cell on Excel worksheet changes. ...
    (microsoft.public.excel.programming)
  • Re: CSS to javascript - CSS events are too slow.
    ... the table is editable through the addition of a javascript ... that adds a textbox to the cell that has the focus. ... is why I tried to convert the CSS to an event-driven javascript. ... divs, set it all up with table-layout:fixed and allow the content to ...
    (comp.lang.javascript)
  • innertext, javascript, datagrid, database update
    ... when a user presses a button, or edits a certain field in a datagrid, another ... cell in the datagrid is filled with a value. ... field/cell that is filled by the javascript appears to be blank in my update ... My java script code that populates the desired cell; ...
    (microsoft.public.dotnet.framework.aspnet)