解决方案 »
- html中两个p标签之间如何做到不换行~~~~~~~~~~~~~~~~~~~~~标题这么长可以看到了吧~~~~~~~~~~~
- 我想获取某一个网站的一个栏目列表用JS怎么写啊
- jquery跨域ajax怎样使用?
- 用代码实现通过IP查询网站获得IP归属地
- excle的问题 我写的代码只能保存 不能打开
- googleMap 自定义地图
- Jquery用json调用wcf服务的问题
- 如何使Iframe中的元素可编辑?
- 一个js的严重Bug,试着运行alert(0.1-0.01),看看出现什么结果,然后运行alert(0.1-0.02)再看看?
- javascript中有没有现成的函数可以解析字符串“北京,郑州,武汉,杭州,上海”成单个地名
- mini ui
- iframe高度自适应,怎么试都不行啊
function checkAnd(){
if($('#title').val()==''){
alert('请填写标题!');
return ;
}
if($('#content').val()==''){
alert('请填写内容!');
return ;
}
if($('#level').val()==''){
alert('请选择等级');
return ;
}
$.post('__URL__/insert',{title:$('#title').val(),content:$('#content').val(),attachments:$('#attachments').val(),level:$('#level').val()},function(json){
/* $.post('__URL__/insert',{id:$('#id').val(),title:$('#title').val(),content:$('#content').val(),attachments:$('#attachments').val(),level:$('#level').val()},function(json){ */
if(json){
if(json[0]){
location.href = '__APP__/Admin/admin1.html';
}else{
Notifier.warning('添加失败');
}
}else{
Notifier.error('服务器错误');
} },'json')
}这里哪个地方出问题了?提交没有反应