By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,194 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,194 IT Pros & Developers. It's quick & easy.

javscript error 5003:cannot assign to a function result !! cant get rid of it!

P: n/a
i have the following code in a .jsp file:
<script language="JavaScript">
function TAB_LOADER() {
this.functions = new Array();
this.add = function(funct) {
this.functions[this.functions.length+1] = funct;
this.load() = function() {
for (var i=0; i<this.functions.length; ++i) {
var funct = this.functions[i];
return this;
<script language="JavaScript" src="Tabs2.js">

in Tabs.js i create a TABS_LOADER object using:

only to get a "cannot assign to a function result" error!!
wazzza problem?

Jan 20 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
replace: this.load() = function() {
with: this.load = function() {


Jan 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.