在php中查看可用性链接buttton [英] Check Availability link buttton in php

查看:75
本文介绍了在php中查看可用性链接buttton的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,





我尝试使用链接按钮检查用户名是否已经存在。

但链接按钮正在重定向到另一个页面。



任何人都可以帮我解决




I tried with link button for checking whether the username is already exist or not.
But the link button is redirecting to another page.

Can anybody help me out

推荐答案

Hii ..

看看这个,它可能会有所帮助。



让你的表单在提交时返回false并在按钮上调用repective功能点击。



Hii..
Look at this,It might help.

Make your form onsubmit to return false and call repective function on button on click.

<form id="" onsubmit="return false;" width="">
<input type="submit" value="checkUser" onclick="yourFunction()">
</form>





或者如果使用的是超链接





Or if are using a hyperlink

<a href="javascript:void(0);" class="" name="chkUser" value="checkuser" onclick="yourFunction()">Log in</a>


这篇关于在php中查看可用性链接buttton的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆