I am going to use Facebox in my page, and am loading following plugins:
<script type="text/javascript" src="facebox.js"></script>
<script language="javascript" src="jquery-min.js"></script>
<link type="text/css" href="facebox.css" rel="stylesheet" />
I have two div elements. I want to show one div in the facebox after an onclick event, and I'm using this command after the onclick event
jQuery('#dialog-form').facebox()
dialog-form
is the div id to show in the Facebox, but it's showing the two divs in the page and Facebox is not appearing. How can I achieve this?