梦幻之旅

DEBUG - 天道酬勤

   :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  671 随笔 :: 6 文章 :: 256 评论 :: 0 Trackbacks
<script type="text/javascript" src="/js/jquery.js"></script>
    
<script language="javascript" src="/js/common_layer.js"></script>
    
<script language="javascript" src="/js/jquery.form.js"></script>    
    
<script language="javascript" src="/js/core.js"></script>
    
<script type="text/javascript">
        $(document).ready(
function() {            
            $('#form1').ajaxForm();                                
        }
); 
        
        
function submitForm(){
            showLoading(
"divResult");                        
            $(
"#form1").attr("action","/monitor/monitorQueryList.jspa");
            $(
"#form1").ajaxSubmit
            (
{     
                success:  
function (formData, jqForm, options) {                                                             
                    formData
=$.trim(formData);                        
                    $(
"#divResult").html(formData);                  
                }
       
            }
);        
        }
        
        
        
function queryPage(){
            
var param=buildParam(arguments);        
                
            showLoading(
"divResult");        
            $.ajax(
{
               type: 
"POST",               
               url: 
"/monitor/monitorQueryList.jspa",
               data: param,
               success: 
function(msg){
                       $(
"#divResult").html(msg);    
               }
        
           }
)            
        }
        
        
    
</script>
posted on 2009-12-07 18:02 HUIKK 阅读(279) 评论(0)  编辑  收藏 所属分类: JavaScript

只有注册用户登录后才能发表评论。


网站导航: