javascript - What is the best coding standard to perform a webpage back? -


what better use: history.back();, history.go(-1);, new request entirely, or different?

what real difference between history.go(-1); , history.back();?

what best way keep reliable performance (pages load without skipping or pushing forward), data integrity (loading page if refresh, keeping request), adhere coding practices?

according mdn standards history.back(); equalant pressing button , history.go(-1); equalant or shortcut history.back();. if using many page navigations in 1 code
(for example,
history.go(1) //forward;
history.go(-2) //go 2 pages;
consider using history.back(); aviod confusion.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -