Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a Modal Pop up . When I click on a button in the Modal Pop Up, another Modal Pop Up shows up.In second popup there is only one button. In first popup all controls get focus. But when second popup shows the only button does not get focus on load. In first popup I am using Slick Upload control. So after uploading any file through uploader only the button in second popup
does not get focus.
Please help me to solve this.
Posted
Updated 14-Oct-13 20:12pm
v2

1 solution

You can use JavaScript .focus() function to set the input focus on some control: http://www.w3schools.com/jsref/met_html_focus.asp[^].

However, the idea of stacking one dialog on top of another one is really bad. You rather need to review your design.

—SA
 
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