true,"password"=>"jj"); echo json_encode($arr);"/> true,"password"=>"jj"); echo json_encode($arr);">

Home  >  Article  >  Backend Development  >  javascript-jquery-validation remote 一些新手问题 谢谢大腿

javascript-jquery-validation remote 一些新手问题 谢谢大腿

WBOY
WBOYOriginal
2016-06-02 11:30:53870browse

javascriptphpjsonjq

这几天刚刚看到这个验证框架 就是如果我要返回的是数据 又有字符串又有布尔值 是这样写的么 然后js那里怎么写 还有一个就是我想要密码和账号一起验证的话应该怎么写 谢谢
$arr=array("success"=>true,"password"=>"jj");
echo json_encode($arr);

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn