How can i open a URL from Javascript, Navigate to link is hardcoded,is not an option

You can go to a URL link with Navigate to option, But this is hardcoded. How can I make this Dynamic with a variable. I need to get the URL from the database and it changes for each action I have to perform.
1 person has
this problem