Click here to Skip to main content
14,334,138 members

JavaScript

 
QuestionJavaScript Environment Pin
Member 141438347-Feb-19 21:44
memberMember 141438347-Feb-19 21:44 
AnswerRe: JavaScript Environment Pin
Richard MacCutchan7-Feb-19 22:31
protectorRichard MacCutchan7-Feb-19 22:31 
AnswerMessage Closed Pin
24-Feb-19 22:41
memberMember 1416175924-Feb-19 22:41 
QuestionJavaScript in Microsoft Visual Studio Pin
Member 141438347-Feb-19 21:43
memberMember 141438347-Feb-19 21:43 
AnswerRe: JavaScript in Microsoft Visual Studio Pin
Richard MacCutchan7-Feb-19 22:29
protectorRichard MacCutchan7-Feb-19 22:29 
AnswerMessage Closed Pin
10-Feb-19 19:03
memberEriccodejob10-Feb-19 19:03 
QuestionSimple Modal Dialog Pin
Bram van Kampen31-Jan-19 11:58
memberBram van Kampen31-Jan-19 11:58 
AnswerRe: Simple Modal Dialog Pin
Richard Deeming8-Feb-19 1:09
mveRichard Deeming8-Feb-19 1:09 
There used to be a showModalDialog method that would work for this, but it's no longer supported in anything other than Internet Explorer and Safari:
This method was removed in Chrome 43, and Firefox 56.

There's the <dialog> element, which is meant to be the replacement for this method. But it's not supported in IE, Edge, or Safari, and needs to be explicitly enabled in Firefox. There's a polyfill available, but I can't see any obvious mention of which browsers it supports.
<dialog>: The Dialog element - HTML: HyperText Markup Language | MDN[^]
GitHub - GoogleChrome/dialog-polyfill: Polyfill for the HTML dialog element[^]

There are other script options available - for example, Bootstrap's Modal[^] or jQuery UI's Dialog[^].



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionCalling Web api from Angular Service and Component Pin
simpledeveloper29-Jan-19 7:07
membersimpledeveloper29-Jan-19 7:07 
AnswerMessage Closed Pin
31-Jan-19 19:43
professionalElla Brown31-Jan-19 19:43 
QuestionFor loop query Pin
Member 1413327128-Jan-19 22:54
memberMember 1413327128-Jan-19 22:54 
QuestionRe: For loop query Pin
Richard MacCutchan28-Jan-19 23:35
protectorRichard MacCutchan28-Jan-19 23:35 
AnswerRe: For loop query Pin
ZurdoDev30-Jan-19 2:08
professionalZurdoDev30-Jan-19 2:08 
AnswerRe: For loop query Pin
Suresh Madhavaraju11-Feb-19 3:20
memberSuresh Madhavaraju11-Feb-19 3:20 
AnswerRe: For loop query Pin
W Balboos7-Mar-19 7:18
mveW Balboos7-Mar-19 7:18 
QuestionDebugging Pin
Bram van Kampen26-Jan-19 14:14
memberBram van Kampen26-Jan-19 14:14 
AnswerRe: Debugging Pin
Richard Deeming28-Jan-19 1:01
mveRichard Deeming28-Jan-19 1:01 
GeneralRe: Debugging Pin
Bram van Kampen28-Jan-19 11:21
memberBram van Kampen28-Jan-19 11:21 
QuestionCan anyone help me understand this code? Pin
Member 1411814323-Jan-19 1:20
memberMember 1411814323-Jan-19 1:20 
AnswerRe: Can anyone help me understand this code? Pin
Richard Deeming23-Jan-19 7:35
mveRichard Deeming23-Jan-19 7:35 
QuestionJavaScript : TypeScript :: Python : <what> Pin
Amarnath S20-Jan-19 16:58
professionalAmarnath S20-Jan-19 16:58 
AnswerRe: JavaScript : TypeScript :: Python : <what> Pin
Richard MacCutchan20-Jan-19 21:29
protectorRichard MacCutchan20-Jan-19 21:29 
QuestionInjecting an external page to a div using ajax. Pin
Member 1125974616-Jan-19 23:59
memberMember 1125974616-Jan-19 23:59 
AnswerRe: Injecting an external page to a div using ajax. Pin
Graham Breach17-Jan-19 0:31
memberGraham Breach17-Jan-19 0:31 
GeneralRe: Injecting an external page to a div using ajax. Pin
Member 1125974617-Jan-19 0:36
memberMember 1125974617-Jan-19 0:36 

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.