前端开发
A浪里小白龙A
游戏服务器端开发工程师
展开
-
表单post方法传递数据到后端
//原创 2014-06-28 11:38:44 · 6443 阅读 · 0 评论 -
uncaughtException ENOENT, open '/Users/XXXX/Documents/project/80cd2135fd311026842af
uncaughtException ENOENT, open '/Users/XXXX/Documents/project/80cd2135fd311026842af原创 2014-06-28 10:27:49 · 1631 阅读 · 0 评论 -
$.ajax post data error,stay in curren page
//form //ajax提交表单 不需要依靠form标签。//我出现的问题是,在有....的时候,//ajax error处理函数,会自动跳转到一个页面,页面中显示返回的结果 例如{msg:'error'} 16 div class="login"> 17 p> 18 label for="login">用户名:/label> 19 input type=原创 2014-08-02 18:16:26 · 945 阅读 · 0 评论 -
mac os mysql data location
/*the software is Sequal pro.default install mysql on mac os x:the mysql data location is :/usr/local/var/mysql*/ /*在删除数据库的时候会报错,ERROR 1010 (HY000): Error dropping database(can’t rmdir ‘./test/’,errno原创 2014-08-02 18:11:13 · 1121 阅读 · 0 评论 -
how to append an option to Jquery Ui MultiSelect Plugin
select title="myselect" multiple="multiple" id="myselect" name="myselect" size="5"> /select> var option = ' + value + '">' + value+ ''; $('#myselect').append(option); $('#myselect').multiselect( 're原创 2014-08-02 18:06:48 · 668 阅读 · 0 评论 -
Tablespace for table '`pomelo`.`bag`' exists. Please DISCARD the tablespace before IMPORT.
//遇到的问题是,删除数据库之后,重新创建数据库,在创建数据库表的时候,明明没有该表,却提示存在这个表。这是数据库缓存造成的//解决方法FLUSH TABLES;/*安装MySql数据库(略)登录MySql: mysql –u用户名 –p密码 (登录成功提示符:mysql>)创建数据库: mysql> create database Pomelo;选择数据库: mysql> use Pomelo;原创 2014-08-02 18:10:04 · 14073 阅读 · 1 评论 -
js 获取当前日期
var date = new Date(); console.log('year:',date.getFullYear());//年console.log('month:',date.getMonth()+1);//月console.log('day:',date.getDate());//日原创 2014-08-12 18:20:25 · 585 阅读 · 0 评论 -
nodejs download file from server to local
nodejs 下载文件到本地原创 2015-01-27 18:11:21 · 1965 阅读 · 0 评论