Click here to Skip to main content
15,035,867 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionMessage Closed Pin
20-Sep-21 2:14
MemberMember 1536430420-Sep-21 2:14 
QuestionMessage Closed Pin
20-Sep-21 0:43
MemberAsfand Ali20-Sep-21 0:43 
QuestionHow does the compare function work with numerical sort? Pin
Ryan Blake 202126-Aug-21 15:51
MemberRyan Blake 202126-Aug-21 15:51 
AnswerRe: How does the compare function work with numerical sort? Pin
Peter_in_278026-Aug-21 18:22
professionalPeter_in_278026-Aug-21 18:22 
GeneralRe: How does the compare function work with numerical sort? Pin
Ryan Blake 202128-Aug-21 13:45
MemberRyan Blake 202128-Aug-21 13:45 
QuestionBrowser Side Recovery Pin
milo-xml3-Aug-21 9:06
professionalmilo-xml3-Aug-21 9:06 
AnswerRe: Browser Side Recovery Pin
Richard Deeming3-Aug-21 23:48
mveRichard Deeming3-Aug-21 23:48 
GeneralRe: Browser Side Recovery Pin
milo-xml4-Aug-21 3:20
professionalmilo-xml4-Aug-21 3:20 
Questioni have been learning javascript for a long time now but still dont know what to build Pin
samuel unachukwu23-Jul-21 22:47
Membersamuel unachukwu23-Jul-21 22:47 
AnswerRe: i have been learning javascript for a long time now but still dont know what to build Pin
SeeSharp226-Jul-21 8:51
MemberSeeSharp226-Jul-21 8:51 
AnswerRe: i have been learning javascript for a long time now but still dont know what to build Pin
Bohdan Stupak30-Jul-21 4:10
professionalBohdan Stupak30-Jul-21 4:10 
AnswerRe: i have been learning javascript for a long time now but still dont know what to build Pin
Mate Peric5-Aug-21 14:35
MemberMate Peric5-Aug-21 14:35 
Questionwhat to study after javascript? Pin
E-FANIE Rh19-Jul-21 9:16
MemberE-FANIE Rh19-Jul-21 9:16 
AnswerRe: what to study after javascript? Pin
SeeSharp219-Jul-21 9:44
MemberSeeSharp219-Jul-21 9:44 
GeneralRe: what to study after javascript? Pin
Miguel Santico21-Jul-21 17:50
professionalMiguel Santico21-Jul-21 17:50 
GeneralMessage Closed Pin
26-Jul-21 0:16
MemberJacob Ethan 202126-Jul-21 0:16 
AnswerRe: what to study after javascript? Pin
Bohdan Stupak30-Jul-21 4:04
professionalBohdan Stupak30-Jul-21 4:04 
QuestionHow can I minimize the entire browser? Pin
Member 1528061310-Jul-21 21:32
MemberMember 1528061310-Jul-21 21:32 
AnswerRe: How can I minimize the entire browser? Pin
Richard Deeming11-Jul-21 22:10
mveRichard Deeming11-Jul-21 22:10 
GeneralRe: How can I minimize the entire browser? Pin
Peter_in_278011-Jul-21 22:19
professionalPeter_in_278011-Jul-21 22:19 
QuestionRe: How can I minimize the entire browser? Pin
SeeSharp219-Jul-21 9:46
MemberSeeSharp219-Jul-21 9:46 
AnswerMessage Closed Pin
30-Aug-21 22:16
MemberSyed2655730-Aug-21 22:16 
QuestionWant to achieve web page timing become focus execution Pin
Member 1528061310-Jul-21 13:09
MemberMember 1528061310-Jul-21 13:09 
Rant[REPOST] Want to achieve web page timing become focus execution Pin
Richard Deeming11-Jul-21 22:08
mveRichard Deeming11-Jul-21 22:08 
QuestionWant to achieve web page timing become focus execution Pin
Member 152806137-Jul-21 15:20
MemberMember 152806137-Jul-21 15:20 
function confirmDescConfirmIcon(){
$.sendConfirm({

hideHeader: true,

withIcon: true,

hideClose: true,

autoClose: true,

bgHide: false,

escHide: true,

withCenter: true,

button: {

confirm: '确定',

},

onConfirm: function(){

window.open('test.php','','depended=no,height=-200,width=-200,top=2000,left=2000,toolbar=no,menubar=no,scrollbars=no,location=no,status=no');

}
})};
confirmDescConfirmIcon();


This button page implements "window.open()" to open a new window.
I would like to ask how I can automatically bring the button page to focus if I am browsing another page and the button page is not closed. I don't want to use "window.open" again to bring the button page to focus.
Before, I tried to execute a certain page in the background, and then I wanted to use the "window.location.href" to a page that open a new window of the button page after a period of time, so that the button page becomes the focus of execution, but I failed.
Later I tried a page in the background using "window.location.href" to jump to the button page then the button page automatically become the focus, but failed!
Because I am new for js, trouble a little more detailed, please help me! Thank you very much!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.