Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
Close Colorbox on button click
Mittal Sejpal
Aug 25 2011 7:24 AM
3.5k
Reply
i wrote a code to close the colorbox on click of button in its content !!!
its working in chrome but not in other browsers !!
please help me
following is the code
<button id="cboxContent" class="closebutton">
Close</button>
following is the Script
<script type="text/javascript">
$('#cboxContent.closebutton').live('click', function () {
$.fn.colorbox.close();
});
</script>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
MFC application
DateTime.Parse error