`

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

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.

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.