Click here to Skip to main content
14,696,465 members
Home » Discussions » ASP.NET
   

ASP.NET

 
AnswerRe: Won't compile after missing Bin file replaced Pin
F-ES Sitecore18-Jan-18 23:41
mveF-ES Sitecore18-Jan-18 23:41 
GeneralRe: Won't compile after missing Bin file replaced Pin
Redvan19-Jan-18 10:07
MemberRedvan19-Jan-18 10:07 
QuestionHow to save large class data to multiple table using entity framework 6 Pin
Mou_kol17-Jan-18 23:25
MemberMou_kol17-Jan-18 23:25 
AnswerRe: How to save large class data to multiple table using entity framework 6 Pin
debasish mishra23-Jan-18 20:05
professionaldebasish mishra23-Jan-18 20:05 
Question"Whoops! Please Enable Adobe Flash" popup does not allow user click from my aspx page (which relates to a .master file). Pin
Anita Ziegner 17-Jan-18 7:41
professionalAnita Ziegner 17-Jan-18 7:41 
AnswerRe: "Whoops! Please Enable Adobe Flash" popup does not allow user click from my aspx page (which relates to a .master file). Pin
Richard Deeming17-Jan-18 9:29
mveRichard Deeming17-Jan-18 9:29 
GeneralRe: "Whoops! Please Enable Adobe Flash" popup does not allow user click from my aspx page (which relates to a .master file). Pin
Anita Ziegner 17-Jan-18 9:48
professionalAnita Ziegner 17-Jan-18 9:48 
GeneralRe: "Whoops! Please Enable Adobe Flash" popup does not allow user click from my aspx page (which relates to a .master file). Pin
Richard Deeming17-Jan-18 10:04
mveRichard Deeming17-Jan-18 10:04 
Looking at the full script file[^], it seems the popup creates a <button> element within the modal to open a new page with instructions on how to install Flash.

The event handler for the button doesn't prevent the default behaviour. Since the button is inside a form, the default behaviour in some browsers is to submit the form.

You'll need to find some way to identify the button, possibly via an ID or CSS class on an ancestor element. You'll then need to add a delegated event handler[^] for the button's "click" event, and call the preventDefault()[^] method on the event object.

For example:
document.getElementById("parent-element").addEventListener("click", function(e) {
    if (e.target && e.target.nodeName == "BUTTON") {
        e.preventDefault();
    }
});




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


QuestionPls help Pin
Quarshie Mawunyegah11-Jan-18 8:08
MemberQuarshie Mawunyegah11-Jan-18 8:08 
AnswerRe: Pls help Pin
ZurdoDev11-Jan-18 9:17
mveZurdoDev11-Jan-18 9:17 
AnswerRe: Pls help Pin
F-ES Sitecore14-Jan-18 23:09
mveF-ES Sitecore14-Jan-18 23:09 
QuestionWhat url option does with ajax begin form Pin
Mou_kol8-Jan-18 23:00
MemberMou_kol8-Jan-18 23:00 
AnswerRe: What url option does with ajax begin form Pin
Vincent Maverick Durano9-Jan-18 20:20
mvaVincent Maverick Durano9-Jan-18 20:20 
QuestionBest way to prevent xss attack Pin
Mou_kol8-Jan-18 1:23
MemberMou_kol8-Jan-18 1:23 
AnswerRe: Best way to prevent xss attack Pin
Richard Deeming8-Jan-18 7:25
mveRichard Deeming8-Jan-18 7:25 
GeneralRe: Best way to prevent xss attack Pin
Mou_kol8-Jan-18 22:04
MemberMou_kol8-Jan-18 22:04 
GeneralRe: Best way to prevent xss attack Pin
Richard Deeming9-Jan-18 2:21
mveRichard Deeming9-Jan-18 2:21 
QuestionAngular 4 having vs2013 Pin
soumyaraj7-Jan-18 19:54
Membersoumyaraj7-Jan-18 19:54 
AnswerRe: Angular 4 having vs2013 Pin
debasish mishra9-Jan-18 0:23
professionaldebasish mishra9-Jan-18 0:23 
QuestionGuidance required to show date and time as per user's timezone wise Pin
Mou_kol6-Jan-18 7:16
MemberMou_kol6-Jan-18 7:16 
AnswerRe: Guidance required to show date and time as per user's timezone wise Pin
Richard MacCutchan7-Jan-18 3:43
mveRichard MacCutchan7-Jan-18 3:43 
GeneralRe: Guidance required to show date and time as per user's timezone wise Pin
Mou_kol7-Jan-18 5:48
MemberMou_kol7-Jan-18 5:48 
GeneralRe: Guidance required to show date and time as per user's timezone wise Pin
Richard MacCutchan7-Jan-18 7:09
mveRichard MacCutchan7-Jan-18 7:09 
Questionhow to prevent csrf attack by using csrf-token Pin
nooshiiin5-Jan-18 19:58
Membernooshiiin5-Jan-18 19:58 
AnswerRe: how to prevent csrf attack by using csrf-token Pin
debasish mishra8-Jan-18 3:16
professionaldebasish mishra8-Jan-18 3: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.