![]() |
|
|
|||
|
Re: Table sorting problem
With http://www.sheldonlg.com/js/sorttable_new.js, I cannot get it to work in IE6 or Firefox.
The problem appears to be caused by the event handlers being turned off. (This is the browser specific code that you mentioned.) This prevents any of the browsers from knowing that they need to be looking for the table sorting event to happen. When I removed the comments around that code, the javascript appeared to work properly. In FF3, the javascript code was then able to sort the data in ascending and descending order in all of my tests. If you remove the comments around the browser specific code, it should in both FF3 and IE6. Good luck, Tanner Young |
|
|||
|
Re: Table sorting problem
Tanner Young wrote:
> With http://www.sheldonlg.com/js/sorttable_new.js, I cannot get it to work in IE6 or Firefox. > > The problem appears to be caused by the event handlers being turned off. (This is the browser specific code that you mentioned.) This prevents any of the browsers from knowing that they need to be looking for the table sorting event to happen. When I removed the comments around that code, the javascript appeared to work properly. In FF3, the javascript code was then able to sort the data in ascending and descending order in all of my tests. > > If you remove the comments around the browser specific code, it should in both FF3 and IE6. > > Good luck, > > Tanner Young The issue was not with the sample app. I was presenting only to show what the changed code looks like. I modified the sample app to do an onload which calls the sorttable.init(). It then works in both with the original, modified, code that I presented. However, what I am saying is that the sample app is not the problem I am looking to solve. I cannot reproduce the problem in a sample app. My problem is that the real app doesn't work properly in FF2, but does in IE6. |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|