if(something here)
<img src="a.jpg" class="image" />
else if(somthing here)
<img src="b.jpg" class="image" />

I have something like it But class and events associated with it in jquery does not work for second block.
Please help.

Recommended Answers

All 2 Replies

Looking at this code I can't find any thing wronge. May be a browser cache problem. Clear the cache or change the browser. Good luck.

I have something like it

The devil is in the details. Don't see any thing here that is either a class or require jquery.
Post your exact code.

Be a part of the DaniWeb community

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