IE & RSH Problem

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

IE & RSH Problem

Post by Jade »

I'm using RSH 6.0 from google and when I run it in IE I'm getting this.storageField is null or not an object error. I tried putting it into a try/catch block with no success. It's like the storageField isn't ever being initialized even though it's being called. Anyone else ever had this problem? Any known solutions?

This is where the error occurs.

Code: Select all

 
/*Private: Load the hash table up from the form.*/
    loadHashTable: function() {
        if (!this.hashLoaded) { 
    
            [color=#FF0000]var serializedHashTable = this.storageField.value;[/color]
 
            if (serializedHashTable !== "" && serializedHashTable !== null) {
                this.storageHash = this.fromJSON(serializedHashTable);
                this.hashLoaded = true;
            }
        }
    },
    /*Private: Save the hash table into the form.*/
    saveHashTable: function() {
        this.loadHashTable();
        var serializedHashTable = this.toJSON(this.storageHash);
        this.storageField.value = serializedHashTable;
 
    }
 
Post Reply