View Full Version : iterator crashing, not sure where...

06-22-2009, 12:52 PM
This is the script:

$$(dropmenudiv a).each(item,item.Event.observe('click',function(){
new Ajax.Updater('panelUser','../php/getpanelUser.php?document='+item.id);

firefox reports "missing ) after argument list" which of course means that execution did not get to that final ), can anyone see why?

06-22-2009, 01:05 PM
Count your parentheses- you need another to close the each expression.

06-22-2009, 01:17 PM
Yup, $$('dropmenudiv a') helps too! Time for a break, thx!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum