Re: add row dynamically in a table which contains textfields,button.
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: add row dynamically in a table which contains textfields,button.

From: Randy Webb <HikksNotAtHome@aol.com>
Date: Fri Mar 17 2006 - 05:28:43 CET

Gérard Talbot said the following on 3/16/2006 7:50 PM:
> anirban.anirbanju@gmail.com wrote :
>> hi there,
>
>> my script is:
>> ---------------------------------------------------------------------------------------------------------------------
>>
>>
>> function addRow()
>> {
>> alert("called addRow");
>> var totalRow = document.all.colordef_tab.rows.length;
>
> Your code is IE-specific here.

It is proprietary but it is not "IE-specific". Opera supports it (in IE
spoof mode) and when not being feature detected some of the Gecko based
browsers support it to a limited extent. :-)

-- 
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Received on Mon May 1 04:08:03 2006