> The only problem, i have similar onClick events in couple of web > pages, and it is doing same thing, just remote URL is changed. that is > only reason, i wanted to generalize the script as a function. For some > reason onclick from a hyperlink event is creating issue if i add a > onlcilck function in the jsp.
Did you understand Matthew's comment that you are continuing to add more events? "Generaliz[ing] the script as a function" in no way requires that you re-add the event listener *within* the event listener. Maybe you need to be more explicit about your goals. Setting up a demo at http://mooshell.net is also helpful. -- Sandy To unsubscribe from this group, send email to mootools-users+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
