//function message(page) { // var id = $('#h_id').val(); // //var page = $('#h_page').val(); // $.ajax({ // type: 'post', // //url方式为post // url: 'getdasj.aspx', //这里是指向登录验证的页面 // data: { // "id": id, // "page": page, // "t": math.random() // }, // datatype: "html", // //把要验证的参数传过去 // //数据类型为json格式的验证 // //在发送数据之前要运行的函数 // // beforesend: function () { // // $('#confirm').html('登录中.........'); // // }, // success: function (html) { // if (html != null && html != "") { // $("#client_con").append(html); // var thispage = parseint(page) + 1; // $('#btn_load').attr("href", "javascript:message(" + thispage + ")"); // jquery(".yearbox").click(function() { // var classname = jquery(this).attr("class"); // if (classname == "yearbox yearboxact") { // jquery(this).removeclass("yearboxact"); // jquery(this).parent().find(".mothbox").slideup("normal"); // slide up all sub menus except the one clicked // } else { // jquery(this).addclass("yearboxact"); // jquery(this).parent().find(".mothbox").slidetoggle("normal"); // } // }); // } // } // }); //}