Hi,
Am trying to change the formatting of a tr (table row) element with jquery.
I have no control over the table as its generated by another javascript.
the table/tr has no css class
each of the alternate tr has a bgcolor attribute specified... I want to remove the value of this attribute so it turns transparent.
i have paced this script under the javascript that generates the table.
But this gives an error in firebugCode:<script language="JavaScript"> $(document).ready( function() { $("#postcontent tr").each( function() { $(this).attr("bgcolor", ""); }); });</script>


LinkBack URL
About LinkBacks
Reply With Quote
solved the problem.

