Submiting form with custom prompt Programming Web Development by ivan3510 …('body')[0].appendChild(promptbox) promptbox = eval("document.getElementById('prompt').style") promptbox.position = 'absolute' promptbox.top = 100 promptbox.left = 200 promptbox.width = 300 promptbox.border = 'outset… Re: Submiting form with custom prompt Programming Web Development by Graphix You can easily ask the user whether he wants to submit the form or not: [CODE]<form method='post' action='' onsubmit='return confirm("Are you sure you want to submit this form?");'>[/CODE] The confirm() returns true if the user selected "yes" and false if the user selected "no". ~G Re: Submiting form with custom prompt Programming Web Development by ivan3510 OK. But I want that this popup looks better. Re: Submiting form with custom prompt Programming Web Development by ivan3510 Is there some other way for creating javascript popup that will be able to submit form by pressing a button? (The same as when logging to this site.) Sorry for my bad English. Re: Submiting form with custom prompt Programming Web Development by Graphix Well, that is alot more difficult. Anyway here how it is done: <form name='MyForm' onsubmit='checkValue();' action=''> And then in the JavaScript: [CODE]var form_allowed_to_submit = false; // This is a global variable function checkValue() { if (form_allowed_to_submit == false) { prompt2('Confirm','Do you realy want to submit form?', '… Re: Submiting form with custom prompt Programming Web Development by ivan3510 Thank you very much.