rudijuri 0 Newbie Poster

Hi all,

There is a jquery method that has replaced toggle-event (that is deprecated in version 1.8, and removed in version 1.9)? Or is it necessary to use a loop?
It was very convenient to have a different event depending on the number of clicks made, as indeed did jquery ver. <1.9 (write less)
Thanks.
Juri
Example (toggle with jQuery ver. 1.8): Click Here (script on jsfiddle)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.