问题描述
大家好,
这里我有2个div容器。一个是投票选项和投票按钮。另一个div有ajax条形图。如果我选择任何单选按钮并单击投票na,则立即数据将存储在DB中并且当前div(Voting div)将关闭。并显示我的ajax图表div。最初我的ajax图表div是display:none。我试过了
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
<script type="text/javascript">
$('.white').click(function () {
$('#mac_pc_none').hide();
$('#chart').show();
});
</script>
这里一切都很好,但我的图表div会在2秒后自动关闭,欢迎所有回复。
谢谢和问候,
Dhineshkumar V
here everything is fine but my chart div is automatically closed with in 2 seconds, All replies are welcome.
Thanks and Regards,
Dhineshkumar V
推荐答案
这里一切都很好,但我的图表div会在2秒后自动关闭,欢迎所有回复。
谢谢和问候,
Dhineshkumar V
here everything is fine but my chart div is automatically closed with in 2 seconds, All replies are welcome.
Thanks and Regards,
Dhineshkumar V
这篇关于在div显示后,Ajax条形图立即关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!