mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2025-01-07 12:38:53 +00:00
update...
This commit is contained in:
parent
dc534f0e8f
commit
67ec2a329a
@ -75,7 +75,7 @@ if (empty ( $_SESSION ['username'] ))
|
|||||||
<td class="description"><input style="width: 250px;"
|
<td class="description"><input style="width: 250px;"
|
||||||
class="span8 inline-input" id="mail" type="text" disabled="disabled"/></td>
|
class="span8 inline-input" id="mail" type="text" disabled="disabled"/></td>
|
||||||
<td><button style="width: 90px;" id="submit" type="button"
|
<td><button style="width: 90px;" id="submit" type="button"
|
||||||
class="btn-glow primary btn-next">发送验证码</button></td>
|
class="btn-glow primary btn-next" disabled="disabled">发送验证码</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- row -->
|
<!-- row -->
|
||||||
<tr>
|
<tr>
|
||||||
@ -111,7 +111,31 @@ if (empty ( $_SESSION ['username'] ))
|
|||||||
<script src="View/public/js/jquery.uniform.min.js"></script>
|
<script src="View/public/js/jquery.uniform.min.js"></script>
|
||||||
<script src="View/public/js/select2.min.js"></script>
|
<script src="View/public/js/select2.min.js"></script>
|
||||||
<script src="View/public/js/theme.js"></script>
|
<script src="View/public/js/theme.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
var data = "user=<?=$_SESSION['username']?>";
|
||||||
|
function select(){
|
||||||
|
$.ajax({
|
||||||
|
type:"GET",
|
||||||
|
dataType:"json",
|
||||||
|
data:data,
|
||||||
|
url:"<?=Url('mail_status', "select")?>",
|
||||||
|
success:function(rdata){
|
||||||
|
$.each(rdata.info,function(index,content)
|
||||||
|
{
|
||||||
|
if(rdata.status == "success")
|
||||||
|
{
|
||||||
|
$("#mail").val(content.email);
|
||||||
|
$("#submit").attr();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
)},
|
||||||
|
error:function(){
|
||||||
|
alert("数据读取失败");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#submit").click(function(){
|
$("#submit").click(function(){
|
||||||
var mail = $("#mail").val();
|
var mail = $("#mail").val();
|
||||||
|
Loading…
Reference in New Issue
Block a user