| | |
correct?
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Seemingly not.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
I have tested it on a button like this: (it works both in IE6 and FF3)
It then pops up a confirmation box.
Can u provide your code, maybe something else is breaking first and thats why that part doesnt work.
JavaScript Syntax (Toggle Plain Text)
<input type="button" name="tbutton" id="tbutton" value="testbutton" onclick="javascript: if(!confirm('Confirm delete?')) return false;" />
It then pops up a confirmation box.
Can u provide your code, maybe something else is breaking first and thats why that part doesnt work.
Last edited by peter_budo; Jul 10th, 2008 at 9:55 am. Reason: Keep It Organized - please use [code] tags
![]() |
Similar Threads
- database won't give correct permissions (MS SQL)
- Help function not returning correct value (C++)
- Returning a correct python list (Python)
- help me to correct this part of my program (C++)
- I cant correct these two errors (C++)
- correct errors in this program (C)
- code repeatedly 2 ask user 4 a password until correct (=Java) but cant c wots wrong. (Java)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Trouble with jsf, passing event
- Next Thread: Javascript change text box fields
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxhelp animate array automatically beta box bug calendar cart checkbox child codes column createrange() css cursor date debugger decimal design disablefirebug dom download dropdown editor element engine enter error explorer ext file firefox focus forms frameworks getselection google gwt html htmlform ie8 iframe images index internet java javascript jawascriptruntimeerror jquery jsf jsfile jsp jump listbox maps masterpage math menu microsoft mimic mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent pdf php player post problem programming progressbar prototype redirect regex runtime safari scale scriptlets scroll search select shopping size sql text textarea w3c web website window windowofwords windowsxp wysiwyg \n







And i don't know what to do...