Quantcast
Channel: moon's blog » jquery
Browsing latest articles
Browse All 3 View Live

jquery中$.ajax方法提交表单

function postdata(){                        //提交数据函数        $.ajax({                                //调用jquery的ajax方法            type: "POST",                       //设置ajax方法提交数据的形式            url:...

View Article



jquery处理json对象

在服务器端的php脚本: <?php    $data['id'] = 1;    $dat['name'] = "mary";    $da['red']= array_merge($data,$dat);       $data1['id'] = 2;    $dat1['name'] = "燕子";    $da['blue']= array_merge($data1,$dat1);...

View Article

jQuery 常用方法经典总结

1、关于页面元素的引用 通过jquery的$()引用元素包括通过id、class、元素名以及元素的层级关系及dom或者xpath条件等方法,且返回的对象为jquery对象(集合对象),不能直接调用dom定义的方法。 2、jQuery对象与dom对象的转换...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images