| Firefox and IE issues |
| J S replied on Thursday, August 17, 2006 8:10 AM |
|
This will help u : http://west-wind.com/weblog/posts/1463.aspx |
| Reply Reply Using Power Editor |
| |
| |
Rank |
Winnings |
Points |
| November |
0 |
$0.00 |
0 |
| October |
0 |
$0.00 |
0 |
|
|
|
|
|
|
| Example: |
| Peter Bromberg replied on Thursday, August 17, 2006 9:02 AM |
|
function myFunction()
{
var trname = document.getElementById('tr1').attributes['name'].value;
alert(trname);
} |
| Reply Reply Using Power Editor |
| Peter Bromberg is a C# MVP, MCP, and .NET expert who has worked in banking, financial and telephony for over 20 years. Pete focuses exclusively on the .NET Platform, and currently develops SOA and other .NET applications for a Fortune 500 clientele. Peter enjoys producing digital photo collage with Maya,playing jazz flute, the beach, and fine wines. You can view Peter's UnBlog and IttyUrl sites. Please post questions at forums, not via email! |  |
|
| |
Rank |
Winnings |
Points |
| November |
0 |
$0.00 |
0 |
| October |
0 |
$0.00 |
0 |
|
|
|
|
|
|
| Table Row Does not have a Name Attribute |
| Chad . replied on Thursday, August 17, 2006 9:25 AM |
|
Hi,
As per W3c Specifications a Table Row does not have a name attribute.
Hence it is not advisable.
You can use the IDs for the same?
Is there any specific constraint that makes you use the name?
Let me know in case I can help you.
-
Chandu |
| Reply Reply Using Power Editor |
| |
| |
Rank |
Winnings |
Points |
| November |
0 |
$0.00 |
0 |
| October |
0 |
$0.00 |
0 |
|
|
|
|
|
|
| RE:working code |
Sushila Patel provided a rated reply on Thursday, August 17, 2006 12:23 PM |
|
function myFunction()
{
var trname = document.getElementById('tr1').getAttribute('name') ;
alert(trname);
}
Tested on Firefox and IE |
| Reply Reply Using Power Editor |
| Microsoft Visual ASP/ASP.NET MVP |
| |
Rank |
Winnings |
Points |
| November |
0 |
$0.00 |
0 |
| October |
0 |
$0.00 |
0 |
|
|
|
|
|
|
|