- 博客(4)
- 收藏
- 关注
转载 php简易增删改查
1、新建数据库 news,blogs2、php连接数据库(conn.php)<?php header('Content-type:text/html;charset=utf-8'); @mysql_connect("localhost:3306","root","admin123")or die("mysql连接失败"); @mysql_select_db("news")
2016-01-15 15:20:22 7492
转载 ajax,load方法
ajax1.load{ width:600px; height:400px; border:solid 1px #ccc; } $('input[type=button]').click(function(){ $('.load').load('text.html?date='+Math.random()); });
2016-01-08 16:08:38 298
转载 ajax,get方法
ajax1div{ width:600px; height:400px; border:solid 1px #ccc; color:#f00; }$('input[type=button]').click(function(){ //alert(1); $.get('process.php',{'username':$('#username').val()},
2016-01-08 16:06:26 258
转载 用ajax从服务器传文件,ajax方法
ajax1div{ width:600px; height:400px; border:solid 1px #ccc; color:#f00; }#info { overflow: auto;} $('input[type=button]').click(function(){ var ul = $('#info>ul'); $.ajax({
2016-01-08 16:01:20 577
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人