HighDots Forums  

Re: checkbox-Problem

Javascript (German) Programmiersprache JavaScript. (de.comp.lang.javascript)


Discuss Re: checkbox-Problem in the Javascript (German) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Hamacher
 
Posts: n/a

Default Re: checkbox-Problem - 08-01-2003 , 09:09 AM






Marko Bischof schrieb:

Quote:
das Setzen des Zustandes (checked) einer Checkbox soll mit einem
confirm() bestätigt werden.

Bei "ok" ist alles ok, bei "Abbruch" wird zwar meine Aktion nicht
ausgeführt, jedoch ändert sich ja der Zustand der Checkbox, da soll
nicht sein.

Wie kann ich das unterbinden?
<input type="checkbox" onclick="return confirm('blabla');" />

MfG,
Thomas


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.