hi, i have a binding click event issue. im trying to bind five - TopicsExpress



          

hi, i have a binding click event issue. im trying to bind five different elements with a click event having the same function as a event handler but with different parameters. Heres is my code: $(#areaascensor).bind(click, setearImagen(ascensor)); $(#areaflat).bind(click, setearImagen(flat)); $(#areaduplex).bind(click, setearImagen(duplex)); $(#areasimple).bind(click, setearImagen(simple)); $(#areatendales).bind(click, setearImagen(tendales)); the problem is that when i click any of the elements, it allways jumps the last event. in this case setearImagen(tendales). dont know why :( any clue?
Posted on: Fri, 09 Jan 2015 21:46:19 +0000

Trending Topics



Recently Viewed Topics




© 2015