Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 13:48

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



(Problem) Confirm überprüfen

Discussion on (Problem) Confirm überprüfen within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
_Roman_'s Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 1,620
Received Thanks: 237
(Problem) Confirm überprüfen

Hallo Community,

ich arbeite an einem Formular für ein Feedback und am Ende kommt halt ein Fenster, ob man das wirklich abschicken möchte. Das habe ich mit confirm gemacht, also ok oder abbrechen. Nun will ich, wenn man auf ok clickt, dass alles an eine e-mail adresse gesendet wird. Zum Test habe ich ein alert fenster aufgerufen, was aber auch nicht klappt. Hier ist mal der wichtigste Teil:

Code:
else if (document.feedback.name.value.length>1 && 
document.feedback.email.value.length>1 && 
document.feedback.feedback.value.length>1){
check = confirm("Formular wirklich abschicken?")
}
else if (check == true){
alert("test")																		}
Das alle spassiert in einer Funktion
_Roman_ is offline  
Old 11/08/2012, 19:47   #2
 
Mikesch01's Avatar
 
elite*gold: 203
Join Date: Sep 2007
Posts: 732
Received Thanks: 190
Hast du zufällig die Webseite online? Das wäre von großem Vorteil, da wir dann live probieren könnten
Mikesch01 is offline  
Old 11/08/2012, 19:55   #3
 
_Roman_'s Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 1,620
Received Thanks: 237
Ne, leider nicht
_Roman_ is offline  
Old 11/09/2012, 09:14   #4
 
elite*gold: 0
Join Date: Mar 2008
Posts: 12
Received Thanks: 5
Hey, so sollte es klappen. Da confirm() keine neuen Aufruf auslöst musst du es in die gleiche if abfrage einbauen und nicht per else.
Code:
if (document.feedback.name.value.length > 1 && 
document.feedback.email.value.length > 1 && 
document.feedback.feedback.value.length > 1){
    check = confirm("Formular wirklich abschicken?");
    if (check == true) {
        alert('drin');
    }
}
ist ungetestet!

Grüße
eromer is offline  
Thanks
1 User
Old 11/09/2012, 16:54   #5
 
_Roman_'s Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 1,620
Received Thanks: 237
Vielen Dank, klappt wunderbar
_Roman_ is offline  
Reply


Similar Threads Similar Threads
Please Confirm This!!
11/11/2010 - Soldier Front Hacks, Bots, Cheats & Exploits - 3 Replies
We can Still Enjoy The USPSF Pub Hack V9!! Still Working After GG Update!! Come to think of it, my GG didn't patch!! LOL Ok. I thought Good bye version 9 but players here still using the V9.. WTF?
Can anyone confirm this?
02/15/2010 - Grand Chase - 4 Replies
My GC Patcher recently updated (5 Minutes ago?), when I try to open GC with the hacks I get this message: http://i64.photobucket.com/albums/h183/crasgear/L ol-6.png are the hacks patched or something?
Can any one confirm
02/15/2010 - General Gaming Discussion - 5 Replies
Can some one please confirm this: http://www.elitepvpers.com/forum/swg-exploits-hack s-bots-tools-macros/76708-free-swg.html I want a second account but wouldnt like to pay lol
Confirm please
01/29/2008 - WarRock - 3 Replies
Well this hypothesis is probably posted somewhere on this site that I can't find or somebody that has experience in hacking already thought of this and knows it will not work, but I have not seen a thread talking about it, so here it is. If I start War Rock then i use task manager (ctrl + alt + del) and i end process PnkBstrA.exe / PnkBstrB.exe, would it just close PunkBuster and it wont detect anything? Or at least anything it did not detect yet and won't scan my computer ? Simple Terms...
Confirm please??
07/18/2007 - Conquer Online 2 - 3 Replies
I read on the CO website in a player tip from someone that there is a bot that nocks of the 0's from the prices in your stall. ie 500,000 becomes 5. is this true? thx



All times are GMT +2. The time now is 13:48.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.