More action-form for the same form

G

Guest

Hi all,
I have a form with 3 combobox whitin a asp page called data.asp, whose
action form is itself; the first combobox drives the behaviour of the other
two.
The onchange event of the first combobox is related to a javascript function
in which I call the submit method for the form, whose action form is itself.
This works fine.
The problem is that if I want to save the changes done by the user (clicking
the OK button) I need to set the action of the form to another page, for
example save.asp.
The question is how to do this?
I had written a function inside the onclick method of the OK button that is
similar to the following one

document.MyForm.action = "save.asp";
document.MyForm.submit();

But it doesn't work properly, because the page save.asp is never invoked.

Thanks in advance for the help,
Michele.
 
G

Guest

Does this have anything to do with asp.net? All you mention is JavaScript and
ASP. You are probably using the wrong newsgroup
 
G

Guest

Oh, I'm sorry!
Could you please tell me which is the right newsgroup?

Regards,
Michele.
 
J

Juan T. Llibre [MVP]

If the question is about ASP, you might want to try:

microsoft.public.inetserver.asp.general



Juan T. Llibre
===========
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top