在浏览器输入登录地址  打开后弹窗跳出 现在想要弹窗跳出时显示的数据是从数据库获取的数据
我想到的方法是ajax
但是现在不知道改如何去触发这个ajax,求解
<script type="text/javascript">
       $(function(){
    $('#msg_win').???(function(){
       alter('456');
               $.ajax({
                 ......
               });
    });
});</script>
<body>    <div id="msg_win" style="display:block;top:2000px;width:300px;visibility:visible;opacity:1;">
    <div class="icos"><a id="msg_min" title="最小化" href="javascript:void 0">_</a><a id="msg_close" title="关闭" href="javascript:void 0">×</a></div>
    <div id="msg_title">重要提示:纳税人服务体系</div>
    <div id="msg_content"  style="width:300px;">
1、网络发票纳税人服务平台:<a href="" target="_blank">www.123.cn</a><br>
2、系统开票及查询导航平台:<a href="" target="_blank">www.123.cn</a><br>
</div>
</div>
</body>
要触发,问号的部分该写什么呢