jquery flexigrid & javascript problem
hey all,
I am modifying the flexigrid to do on-the-fly search
I came up to the line that activates the search, it was like this :
$('input[name=q],select[name=qtype]',g.sDiv).keydown(function(e){ if(e.keyCode==13) g.doSearch()});
I removed the if(e.keyCode==13) condition to make it fetch the data with every keydown.
problem is, it seems to fetch the old data.
I have no idea why this is, I think it might be related to some jquery/flexigrid event that clears the list before it re-fetches information via ajax.
any help will be appreicated,
Thanks!
Avi.