Click here to Skip to main content
15,895,667 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Tried Typescript? What's your first impressions? Pin
n.podbielski8-Oct-12 23:52
n.podbielski8-Oct-12 23:52 
GeneralRe: Tried Typescript? What's your first impressions? Pin
Ravi Bhavnani11-Oct-12 9:00
professionalRavi Bhavnani11-Oct-12 9:00 
AnswerRe: Tried Typescript? What's your first impressions? Pin
n.podbielski11-Oct-12 20:25
n.podbielski11-Oct-12 20:25 
QuestionHow to resolve following specific bug in IE 10? Pin
Ambesha5-Oct-12 1:15
Ambesha5-Oct-12 1:15 
AnswerCrosspost PinPopular
Peter_in_27805-Oct-12 2:22
professionalPeter_in_27805-Oct-12 2:22 
QuestionFind the selected radio button immediately using the 'this' variable in he javascript Pin
hiredotnet4-Oct-12 20:53
hiredotnet4-Oct-12 20:53 
AnswerRe: Find the selected radio button immediately using the 'this' variable in he javascript Pin
John-ph5-Oct-12 4:02
John-ph5-Oct-12 4:02 
QuestionPreventing Duplicate Form Submissions in JavaScript Pin
hiredotnet3-Oct-12 19:10
hiredotnet3-Oct-12 19:10 
One approach is to provide a message that the form has been submitted, and then provide some means to prevent the web page reader from submitting the form again. In its simplest variation, the following would work:

function validateSubmission(evt) {
...
alert("Thank you, we're processing your order right now");
document.getElementById("submitbutton").disabled=true; // disable



Multiple concurrent form submissions are one of the worst problems that can occur in a user interface. Most people would be unhappy if, say, they found they had purchased two of the same item when they were only expecting to purchase one.

There are several different approaches you can take to prevent duplicate form submissions, and how strict you want to be depends on the seriousness of the double submission.

Custom and high Qualified ASP.Net Web Development Services
asp.net development

QuestionUnit testing in JavaScript Pin
hiredotnet2-Oct-12 21:01
hiredotnet2-Oct-12 21:01 
AnswerRe: Unit testing in JavaScript Pin
Spiff Dog9-Oct-12 9:43
Spiff Dog9-Oct-12 9:43 
QuestionCreating a vertical auto-hide toolbar Pin
Chen Renjun26-Sep-12 17:02
Chen Renjun26-Sep-12 17:02 
AnswerRe: Creating a vertical auto-hide toolbar Pin
Mohibur Rashid27-Sep-12 15:09
professionalMohibur Rashid27-Sep-12 15:09 
GeneralRe: Creating a vertical auto-hide toolbar Pin
Chen Renjun27-Sep-12 15:26
Chen Renjun27-Sep-12 15:26 
AnswerRe: Creating a vertical auto-hide toolbar Pin
jkirkerx27-Sep-12 18:06
professionaljkirkerx27-Sep-12 18:06 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski28-Sep-12 6:06
n.podbielski28-Sep-12 6:06 
GeneralRe: Creating a vertical auto-hide toolbar Pin
jkirkerx28-Sep-12 6:12
professionaljkirkerx28-Sep-12 6:12 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski28-Sep-12 8:43
n.podbielski28-Sep-12 8:43 
GeneralRe: Creating a vertical auto-hide toolbar Pin
jkirkerx28-Sep-12 9:05
professionaljkirkerx28-Sep-12 9:05 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski28-Sep-12 10:44
n.podbielski28-Sep-12 10:44 
GeneralRe: Creating a vertical auto-hide toolbar Pin
jkirkerx28-Sep-12 12:16
professionaljkirkerx28-Sep-12 12:16 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski28-Sep-12 12:51
n.podbielski28-Sep-12 12:51 
GeneralRe: Creating a vertical auto-hide toolbar Pin
jkirkerx29-Sep-12 19:24
professionaljkirkerx29-Sep-12 19:24 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski29-Sep-12 22:04
n.podbielski29-Sep-12 22:04 
QuestionFantastic site demonstrating and teaching "responsive" UI concepts using JavaScript, HTML 5, etc. Pin
BillWoodruff25-Sep-12 13:46
professionalBillWoodruff25-Sep-12 13:46 
AnswerRe: Fantastic site demonstrating and teaching "responsive" UI concepts using JavaScript, HTML 5, etc. Pin
Steve Bondy7-Dec-12 12:38
Steve Bondy7-Dec-12 12:38 

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.