12 AnswersNew Answer
Sabit_iz_Tarcina if you would put a link to your code here, then we could see, what you are trying and how exactly can be helped you, as already above mentioned. Otherwise someone from here would have to be a psychic to see it, what in your code causes this error.
Sabit_iz_Tarcina can you put a link to your code here ,so I and others can see what you are trying and how exactly we can help you !
Sabit_iz_Tarcina Ok assuming you have that second popup, set it's display to none ,just attach a onclick event handler to the button in the first popup and set it's display to block ,
Sabit_iz_Tarcina you talk about my code? Ok, I‘d like to provide you a short description: 1. Run of the code opening the first popup. First popup has a close button „x“. 2. If you click this close button (as in the first popup is written) will be opened the second popup. That I have so made for joke to this situation. 3. The button is for opening of the first popup only, so that the application does not have to be started again. Have fun with coding.
Sabit_iz_Tarcina I think so. I've left some work for you. If you like to learn you could analyze the code and adapt it for your use in no time.
Looks possible to me,anything you have tried?
Yes, I created the first popup and I have button inside that popup. Now I trying to fix that open second popup when I click on that button which is placed in first popup. Maybe with id I can do it. What do you think Abhay ?
It is not on sololeran. It is in other program on laptop.
Maybe it open, but the button need to be in first popup and when you click on that button in first popup it opens second popup. As I can se your button is not inside popup.
Yeah, but thing is that I need to open first popup onclick and then onclick on button in first popup open second popup. I don't need to go to other page or like refresh etc... Your code doesn't work for me on that way I want. Sorry but I 'm only trying to solve my issue :)
Sure, I learn me every day. I didn't expect the whole code from someone here. I have code for both popups. And I can open first popup but when I click on the button which is placed in that popup it doesn't show me the second popup. So I 'm only trying to get some advice on which way is possible to do that.
Did you se it?JaScript