Javascript Error

Firebug picked up this error: (see screenshot) <http://www.anoptic.com/images/firebug.tiff

Partial code here: http://pastie.org/384276

Unable to fix it.

Todd


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Are you sure that the element has an ID? Is this coming out of an
Action (which might get attached to a table cell in a non-layered
layout) or is it part of a hand-coded exercise? To see if a missing ID
is possibly the case, try adding this line just inside the function
body (before the try/catch block):

if (!id) {
	console.log('no id provided');
	return;
}

Walter

On Feb 9, 2009, at 3:25 PM, Todd wrote:

Firebug picked up this error: (see screenshot) <http://www.anoptic.com/images/firebug.tiff

Partial code here: http://pastie.org/384276

Unable to fix it.

Todd


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It was part of an action. The problem was with a global js file I was
using for 3 pages. While all the effects were working it was throwing
errors in Firebug, probably due to a syntax error on my part when I
combined everything into one file. I created a separate js file for
each page and the error is now gone.

Thanks

On Feb 9, 2009, at 2:42 PM, Walter Lee Davis wrote:

Is this coming out of an Action (which might get attached to a table
cell in a non-layered layout) or is it part of a hand-coded
exercise? To see if a missing ID is possibly the case, try adding
this line just inside the function body (before the try/catch block):

if (!id) {
	console.log('no id provided');
	return;
}

dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options