Need to double click button in toogle
I have this page if i click a button ,next page ll load in a div , if i click same button again it wont work i need to Double Click it . Here is the Code
Help Me please
- $(document).ready(function(){
-
- $('.hindimovie').toggle(
- function()
- {
- $('#middlecontent').load('hindimovielist.php');
- },
- function()
- {
- $('#middlecontent').unload('hindimovielist.php');
- });
- });