Re: How to insert a new row to an existing HTML table
- From: "Stefan Mueller" <seekware-remove-@xxxxxxxxx>
- Date: Sun, 30 Oct 2005 18:42:47 +0100
Hello
You are great!!! I've been testing the whole day and now it works with both
browsers. Many thanks.
Do you perhaps know how to translate the following setAttribute (not working
with the Internet Explorer) to the format xelement.xxx?
xelement.setAttribute("class", "style_button")
xelement.setAttribute("onMouseover", "className =
'style_button_mouseover'")
xelement.setAttribute("onMouseout", "className = 'style_button'")
Do you also know how to add class, onMouseover and onMouseout to the whole
row:
In HTML I do:
<tr id="MyRow" class = "stil_tabelleneintrag"
onMouseover = "className = 'stil_tabelleneintrag_mouseover'"
onMouseout = "className = 'stil_tabelleneintrag'">
In JavaScript I guess I have to use xrow.xxx
xtable = document.getElementById("MyTable")
xrow = xtable.insertRow(WhereToInsert)
Stefan
.
- Follow-Ups:
- Re: How to insert a new row to an existing HTML table
- From: Martin Honnen
- Re: How to insert a new row to an existing HTML table
- References:
- How to insert a new row to an existing HTML table
- From: Stefan Mueller
- Re: How to insert a new row to an existing HTML table
- From: Martin Honnen
- How to insert a new row to an existing HTML table
- Prev by Date: AJAX -- communication timing issue?
- Next by Date: Re: How to insert a new row to an existing HTML table
- Previous by thread: Re: How to insert a new row to an existing HTML table
- Next by thread: Re: How to insert a new row to an existing HTML table
- Index(es):