Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem calling function

Status
Not open for further replies.

Layton

Programmer
Nov 29, 2001
15
US
I have a problem when calling this sort function. In IE it works fine but when using Netscape nothing happens.

The user clicks on the anchor tag which is suppose to call the function which it does in IE but not NS?

I don't think it is the code in the function which is why I haven't shown it.

Any help would be appreciated.


function sortTable(col, tableToSort) { lots of code here}


<th bgcolor='#000080'> <A href='javascript:sortTable(0, rsTable1);'><font color='#FFFF00'> Rider Name</font></A></th>


 
try this
<th bgcolor='#000080'> <A href=&quot;#&quot; onClick=&quot;return sortTable(0, rsTable1)&quot;><font color='#FFFF00'> Rider Name</font></A></th>
A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Thanks but I still get the same results. It works in IE but not NS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top