Am using “esri/dijit/Bookmarks” from “Store bookmarks client side” sample in esri javascript api site. When I delete any of the added bookmark the bookmark gets deleted. But when I refresh the page, the deleted bookmark is retained and by default the first added bookmark gets removed. I have attached images of output.
I added 4 bookmarks.
![Capture3.PNG](/legacyfs/online/169083_Capture3.PNG)
I removed bookmark number 3.
![Capture1.PNG](/legacyfs/online/168931_Capture1.PNG)
After deleting, I immediately refresh page and number 1 bookmark gets removed instead of Number 3 bookmark which I removed.
![Capture2.PNG](/legacyfs/online/169082_Capture2.PNG)
I went through the live sample and the same problem is repeated.