Gijs
|
| Posted: 04/16/2003, 4:06 AM |
|
Hi there,
Doen anyone have an idee how to fake the cancel button, with a javascript (document.form.submit())?
Thanx in advantage!
Gijs
|
|
|
 |
User
|
| Posted: 04/17/2003, 12:57 PM |
|
'fake a cancel button'?
You mean, the cancel button will actually perform a post when clicked - e.g. you say 'cancel' but it actually saves the info?
What? What!
Explain yourself - many would like to help - but your question is ???? out there and insufficient to provide an answer!
|
|
|
 |
Headhunter
|
| Posted: 04/18/2003, 7:57 AM |
|
Haha, probably needed to mislead someone and install or submit data without permission.
|
|
|
 |
Gijs
|
| Posted: 05/01/2003, 4:00 AM |
|
Hi,
I admit, when reading this later on, that it is not clear at all.
CodechargeStudio uses a submit with a cancel button. My question really was how to simulate a submit like pushing the cancel button, but with a javascript.
Say I have an on-change event with a list-box. I want to submit the form so I will be able to retrieve other data depending on that list-box. I do not want to submit the data in the database at the on-change event, but only when really submitting the form. Point is: I want codecharge to think the cancel button is pressed at the on-change event of the list-box.
Thanx again,
Gijs
|
|
|
 |
|