Displaying 2 results from an estimated 2 matches for "group_1929".
2005 Oct 17
11
a better question
...#39;m trying to call a click() event on an <a href> that has an
Observable registered for it. Something like:
<a href="#" id="toggle_1929">show</a>
...
Event.observe("toggle_1929", ''click'', function(event){ Element.toggle
("group_1929"); return false; });
...
$("toggle_1929").click(); //this throws "Error: $
("toggle_1929").click is not a function"
Thanks,
Jamie
2005 Oct 18
0
RE: Error: "onclick() is not a function"
...t;, ''click'',
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> function(event){ Element.toggle
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> ("group_1929"); return false; });
>>>>>> ...
>>>>>>
>>>>>> $("toggle_1929").click(); //this throws "Error: $
>>>>>> ("toggle_1929").click is not a function"
>>>>>>
>>>>>>...