TJ and Baglan... Thanks so much for the responses! Actually, both are very helpful, though the quick fix was to add the return false.....I have not been doing that, because up until now, I've usually needed the page to move to the top anyway, so this is a useful tip.
I've got to take a good look at the updating and refilling the div based upon your notes, TJ... Thanks! sqe On Oct 19, 4:11 am, Baglan <[EMAIL PROTECTED]> wrote: > There's a silly little mistake which frequently gets overlooked - I'm > sure it's not the case here, but if you're initiating updates with a > construct like this: > > <a href="#" onclick="update_stuff()">Update</a> > > make sure you include a 'return false;' at the end of the statement: > > <a href="#" onclick="update_stuff();return false;">Update</a> > > Otherwise default behavior gets triggered and '#' makes page jump to > the top. > > - Baglan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
