Jump to content
TNG Community
Sign in to follow this  

How to make a 2-steps to 1-step Find Person-ID button

Recommended Posts


On my website https://xuri.dk/Genealogy/index.php I have in the top menu added a very useful function - a Find Person ID button that reuses TNG code to have the button "Find Person ID" on all TNG pages where the first press gives access to search for a person and the second press jumps to the found person. That it is performed in 2 steps is because I have not found in Javascript a solution that waits to perform step 2 until step 1 is finished. Is there a known solution so that only 1 press is needed? 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this