Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm building a website in which I hope to be able to click an image to open a dialog box (alert or prompt)for more information. In that dialog box I want to add either an image or a table or both. So I'm also asking if those are possible to insert into a dialog box.

THANK YOU for any help.


Oh, and I'm coding with HTML and Javascript.
Posted
Updated 18-May-15 10:27am
v3
Comments
ZurdoDev 18-May-15 16:11pm    
Java or Javascript? They are very different.
[no name] 18-May-15 16:17pm    
Javascript. Sorry.
Sergey Alexandrovich Kryukov 18-May-15 16:19pm    
And what's the problem? Handling a click event? Finding an element to handle the event on? Reading JavaScript or DOM documentation?
—SA
ZurdoDev 18-May-15 16:26pm    
The image has a click event. That is what will trigger opening a dialog box. I just googling for jquery dialog and image click event separately to see how you can tie it all together.
[no name] 19-May-15 9:23am    
Ok. I don't have experience with jquery, so I'll do some learning and try again. I knew the code must be out there to do what I want, I just didn't know where to start looking. Thank you!

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