验证警报后按钮单击不起作用 [英] Button click is not working after validation alert

查看:70
本文介绍了验证警报后按钮单击不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有一个页面,其中每个控件都是动态添加的,例如Textbox,validator和button。

如果有任何验证警报,则在提交按钮上,其他提交按钮在First Click中不起作用,但在第二次单击时它工作正常。或者没有任何验证警报,其他提交按钮在第一次点击时起作用。



请分享分辨率。

Hi All,

I have a page where every control is dynamically being add such as Textbox, validator and button.
On submit button if any validation alert comes then other submit button is not working in First Click but in 2nd click it's working fine. Or without any validation alert other submit button works in 1st click.

Kindly share the resolution.

推荐答案

我认为你在同一个按钮中使用两个onclick事件。所以请这样做:



函数manageSection(currentSection)

{


I think you are using two onclick event in a same button.so please do like this:

function manageSection(currentSection)
{


('。addons_list')。children('ul')。children('li')。eq(currentSection).children ('a')。addClass('addon addon-active');



}
('.addons_list').children('ul').children('li').eq(currentSection).children('a').addClass('addon addon-active');

}


这篇关于验证警报后按钮单击不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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