It also looks like you're assigning the same ID to both the image and
the link.  IDs have to be unique within the document.
--
T.J. Crowder
tj / crowder software / com

On May 16, 8:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> yes, a coworker helped me to discover the error... ugg. You gotta love
> those.  :)
>
> On May 16, 1:58 pm, Ken Snyder <[EMAIL PROTECTED]> wrote:
>
> > [EMAIL PROTECTED] wrote:
> > > ...
> > >                    deleteLink.onClick = (function(id){
> > > ...
>
> > > Does any one see here why the onclick assignment doesn't seem to work?
>
> > Try using "onclick"--all lowercase.  Of course
> > deleteLink.observe('click', function(id) {...  would be even better :)
>
> > - Ken
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to