javascript - Href link followed by onclick events when we press a button -


Currently I have a button that will open a popup and it will show some parameters (like ID, name) But now I want to open a welcome page (href link) and place that pop-up page with that ID and name that I have passed. My onclick event is a JavaScript code that will open popups. I have used something like this

     

It can be done in many ways. One simple way to do this is: -

  1. When the user is removed onclick , then redirect the user to your welcome page.
  2. At the same time of redirection, to get this information in popup, you want to get the parameters on the welcome page.
  3. After the welcome page has loaded, check whether the variables specifically get or not. If they are set, then show a popup window with the information passed by GET in that page.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -