Click here to Skip to main content
15,901,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

Well, I am working on a project Which is a normal Website and its completly depend on jquery html. So now i got stuck with some issue, and the issue is When i Click on a image it should a call particular "Div id", but now its not working fine.
Thanks in Advance :)
Posted
Comments
Richard MacCutchan 25-Nov-12 3:36am    
but now its not working fine.

I don't think anyone is likely to be able to guess what is not working fine.

Your problem is not clear but following code is used in jquery to call some function.
Try it

$(document).ready (function(){
$('#YourdivId').click (function () {
function body
});
});

hope it works
 
Share this answer
 
Hi Sing I am agree with you the Question is not that much Clear I am same kind of suggestion
as Like you below is the Ref Code.

Hi Nikhil what I understand from your query is when you are clicking on Image you want to call particular Div id Does means Every img is having separate Div which you want to Call
based on that Img Click.

If this is the case then We can't hard Code Div Id. It should smart automated process to find that. if you can explain more then I may provide exact solution to your query.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900