Hi, We've started transitioning to a new, better-named, hopefully-spam- free group for Prototype and script.aculo.us:
http://groups.google.com/group/prototype-scriptaculous/ [EMAIL PROTECTED] Could you please post your question there instead? Thanks! People might still answer here, but probably not for all that much longer... -- T.J. Crowder tj / crowder software / com On Jul 8, 10:24 pm, andrewb <[EMAIL PROTECTED]> wrote: > Hi folks, I am not able to capture the onclick event in ie7 using the > code below. It works fine in ffox. > > Here is the html: > > <div id="star-rating"> > <img id="stars" alt="rating" src="http://waeplwwab1:82/images/ > community/light_star_3.gif"/> > <div class="star_1"/> > <div class="star_2"/> > <div class="star_3"/> > <div class="star_4"/> > <div class="star_5"/> > </div> > > Here is the javascript: > > ratings = $$("#star-rating div"); > ratings.each(function(value){ > Event.observe(value, 'click', function() {alert('some logic goes > here');}); > > }); > > I read a couple of posts on this site that talked about the 'click' > event not being captured by prototype in ie. Does that apply here. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---