Menu
I’m getting the error (in Firebug):
[CODE]this._OptionsForm.SelectName is undefined
But the variable is defined…
[code=html]
<script>
// START ChainedSelectBuilder Class
function ChainedSelectBuilder() {}
// Declare Member Variables
ChainedSelectBuilder.prototype._FormName = ‘SomeForm’; // The Name of the Form to use
ChainedSelectBuilder.prototype._OptionsForm = ‘document.’+this._FormName;;
// Member Functions
ChainedSelectBuilder.prototype.RebuildSelectOptions = function(SelectName, OptionsArray)
{
// Reset the Options Array
this._OptionsForm.SelectName.options.length=0
}
</script>
Help?