ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  AJAX: How to Handle Bookmarks and Back Buttons
Subject:   JSON / dhtmlHistory compatibility ?
Date:   2008-03-11 12:31:45
From:   rivkaha
I noticed your interesting usage of the Array.prototype.______array. Interestingly enough, I have discovered through the use of Firebug that every DOM array on my page now includes an ______array field.


I tried removing the JSON code from the dhtmlHistory script, and replaced the JSON.stringify function with the new toJSONArray function. However, I received an error "too much recursion" in Firefox.


I am looking for some illumination on the topic of this particular usage of the array prototype and how to solve my added array field problem. Perhaps you can direct me as to where I can find the answer, even if you do not have the time to emaborate yourself.


Thank you for providing this much-needed library. It greatly improve the usability of AJAx web applications with many fewer bugs and cross-browser compatibility issues than I have seen in other back-button-preservation attempts.