Community & Support

ahah call back is not working with dynamic parameters

I am playing with ahah under examples module. It is working great if action handler and results div are different. But it is not working if i need to refresh action handler itself; even after call back it is still holding original state rather than updated state.

For Ex, I have "prev" and "next" buttons and below it i have results div; after ahah call back i am getting the results replaced; but when I click "prev" again, it is fetching the results relative to original instead of relative to the udpated ones. Any sample code/ module which refreshes both action handler and results?

Thanks,