Click here to Skip to main content
14,359,798 members

JavaScript

 
AnswerRe: JavaScript Environment Pin
Richard MacCutchan7-Feb-19 23:31
protectorRichard MacCutchan7-Feb-19 23:31 
QuestionJavaScript in Microsoft Visual Studio Pin
Member 141438347-Feb-19 22:43
memberMember 141438347-Feb-19 22:43 
AnswerRe: JavaScript in Microsoft Visual Studio Pin
Richard MacCutchan7-Feb-19 23:29
protectorRichard MacCutchan7-Feb-19 23:29 
QuestionSimple Modal Dialog Pin
Bram van Kampen31-Jan-19 12:58
memberBram van Kampen31-Jan-19 12:58 
AnswerRe: Simple Modal Dialog Pin
Richard Deeming8-Feb-19 2:09
mveRichard Deeming8-Feb-19 2: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 8:07
membersimpledeveloper29-Jan-19 8:07 
QuestionFor loop query Pin
Member 1413327128-Jan-19 23:54
memberMember 1413327128-Jan-19 23:54 
QuestionRe: For loop query Pin
Richard MacCutchan29-Jan-19 0:35
protectorRichard MacCutchan29-Jan-19 0:35 
AnswerRe: For loop query Pin
ZurdoDev30-Jan-19 3:08
professionalZurdoDev30-Jan-19 3:08 
AnswerRe: For loop query Pin
Suresh Madhavaraju11-Feb-19 4:20
memberSuresh Madhavaraju11-Feb-19 4:20 
AnswerRe: For loop query Pin
W Balboos7-Mar-19 8:18
mveW Balboos7-Mar-19 8:18 
QuestionDebugging Pin
Bram van Kampen26-Jan-19 15:14
memberBram van Kampen26-Jan-19 15:14 
AnswerRe: Debugging Pin
Richard Deeming28-Jan-19 2:01
mveRichard Deeming28-Jan-19 2:01 
GeneralRe: Debugging Pin
Bram van Kampen28-Jan-19 12:21
memberBram van Kampen28-Jan-19 12:21 
QuestionCan anyone help me understand this code? Pin
Member 1411814323-Jan-19 2:20
memberMember 1411814323-Jan-19 2:20 
AnswerRe: Can anyone help me understand this code? Pin
Richard Deeming23-Jan-19 8:35
mveRichard Deeming23-Jan-19 8:35 
QuestionJavaScript : TypeScript :: Python : <what> Pin
Amarnath S20-Jan-19 17:58
professionalAmarnath S20-Jan-19 17:58 
AnswerRe: JavaScript : TypeScript :: Python : <what> Pin
Richard MacCutchan20-Jan-19 22:29
protectorRichard MacCutchan20-Jan-19 22:29 
QuestionInjecting an external page to a div using ajax. Pin
Member 1125974617-Jan-19 0:59
memberMember 1125974617-Jan-19 0:59 
AnswerRe: Injecting an external page to a div using ajax. Pin
Graham Breach17-Jan-19 1:31
memberGraham Breach17-Jan-19 1:31 
GeneralRe: Injecting an external page to a div using ajax. Pin
Member 1125974617-Jan-19 1:36
memberMember 1125974617-Jan-19 1:36 
QuestionCan someone help me reverse engineer this code and get it working as jQuery? Pin
Member 1411874515-Jan-19 5:14
memberMember 1411874515-Jan-19 5:14 
QuestionJavaScript Pin
Bram van Kampen11-Jan-19 14:52
memberBram van Kampen11-Jan-19 14:52 
AnswerRe: JavaScript Pin
Richard MacCutchan11-Jan-19 23:50
protectorRichard MacCutchan11-Jan-19 23:50 
AnswerRe: JavaScript Pin
Nathan Minier14-Jan-19 2:16
professionalNathan Minier14-Jan-19 2:16 

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.