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



Here i have 2 div container. one is have voting options and vote button. Another one div have ajax barchart. If i select any radio button and click vote na, immediately data will stored in DB and current div(Voting div) closed. and my ajax chart div is shown. Initially my ajax chart div is display:none. I have tried

XML
<script type="text/javascript">
        $('.white').click(function () {
            $('#mac_pc_none').hide();
            $('#chart').show();
        });
    </script>


here everything is fine but my chart div is automatically closed with in 2 seconds, All replies are welcome.

Thanks and Regards,

Dhineshkumar V
Posted
Comments
Jameel VM 4-Jul-13 1:27am    
please check if any javascript or jquery timer is start on your page

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