按钮单击所需的事件 [英] button click Events required

查看:71
本文介绍了按钮单击所需的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

function submit_onclick() {


}









在我的项目中,Eail和密码值正确意味着用户拥有继续下一个时代。我想在submit_onclick上写代码..



任何人都可以帮助我吗?





In my project Eail and password values correct means user have to move on next age. I want to write the code on submit_onclick..

can anyone help me?

推荐答案

试试这个



点击我



try this

Click me

function myFunction()
{
var Usname = document.getElementById("#txtUserName");
var pass = document.getElementById("#txtPasword")
//do the rest
}


您有一个类似的问题:



html文件中的按钮点击事件 [ ^ ]



你也有答案。
You have a similar question here:

Button click event in html file[^]

And you also have the answer there.


这篇关于按钮单击所需的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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