1
I have a page being my main screen, when selecting a value and clicking the button it will call another page referring to which I chose, the same opens in the form of Popup.
I need this Popup to open without the focus on it, that the focus stays on this main screen, because the system works with two screens and when I lose the focus of the main need to be clicking back if you want to perform the operations.
I read about the focus();
but I couldn’t find anything that would help me with the page, I was able to do it in several aspects, applying inputs, Uttons and links, but what I need is the focus on the whole page.
I also found that there are problems related to my own document $(document).ready(function() {
I’m posting to see if I can get an idea of how to do this process.
Why in Popup you don’t create an event that throws focus back to Parent page using an anchored link? Type href=".. /pg-parent.html#anchors"
– hugocsl
Hello, I’m liking your idea, but I don’t quite understand how it works.. If I call an iink it won’t just reopen the page? I haven’t tried yet because at the moment I can’t, but I will focus on this idea yes.
– Alexandre Bonadiman Angeli
and in case it will also be necessary to create a $(Document). ready(Function() { for my Popup right?! With this function you said?
– Alexandre Bonadiman Angeli
That’s the idea. I don’t know much about JS, but from what I see, I think it’s possible. At the end of the Popup load you redirect with a link to the "anchor" of the parent page.
– hugocsl
All right, I’m off work now, I’m gonna try to do something about it. When I’m done I’ll give you an answer.
– Alexandre Bonadiman Angeli
I really tried N ways and I can’t, the most it does is redirect inside the popup itself.. See if this is what you really imagined: window.location.href=".. /.. /Panel.html#ancora" (this is in a js that is called next to the popup)
– Alexandre Bonadiman Angeli
Alexandre like I told you, I’m not the JS rss guy.. Try to edit your question with what you have of JS, or create a new question with this JS and its problem.
– hugocsl