Using $(this) in Dashcode with JQuery

422 Views Asked by At

I am using dashcode for probably the second time in my life. Working on to see the limitations of dashboard widgets.

I have a function being called onclick(). I want to use "$(this)" when it the elements are clicked. I keep getting a generic error "'undefined' is not an object". Once I remove this line:

var t = $(this);

I do not get the error anymore.

I am having zero luck finding information about JQuery limitations in Dashcode widgets.

0

There are 0 best solutions below