Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
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.
Posted
Comments
Nathan Minier 16-Sep-14 8:36am    
Kindly provide some code so that people can see if it's something as easy as a validation state being set and not cleared, or something less normal.
[no name] 19-Sep-14 2:41am    
Please share the entire code !

1 solution

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');

}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900