denve
05-15-2009, 02:55 PM
Hi, I use jquery to toggle the display status of some rows at the event handler for their click events.
But the problem is when the display moves from none to display: table-row; the scroll position is lost(goes back to (0,0))
I have tried it without jquery to noavail.So it is not related to jquery.
I noticed that once the function is completed, the scroll position is lost.
I don't know what happens between the time that the handler completes execution and the position is lost.
I would be glad if someone could help.
var q = "tr[ id *= '" + row+ "' ]";
q.toggle();
But the problem is when the display moves from none to display: table-row; the scroll position is lost(goes back to (0,0))
I have tried it without jquery to noavail.So it is not related to jquery.
I noticed that once the function is completed, the scroll position is lost.
I don't know what happens between the time that the handler completes execution and the position is lost.
I would be glad if someone could help.
var q = "tr[ id *= '" + row+ "' ]";
q.toggle();