[Javascript] Is it possible to use Javascript to submit oncefortwo different forms?

Steve Clay sclay at ufl.edu
Tue Aug 15 08:46:05 CDT 2006


Monday, August 14, 2006, 6:45:59 PM, Dong, Roland wrote:
>> <form method=post action="processor1.jsp">
>> ......
>> </form>
>> <form method=post action="processor2.jsp">
>> .......
>> </form>
>>  Is it possible to click sumbit button and have both forms
>> submitted to different actions?

It is too late to recommend rethinking this architecture? Once you require
Javascript for this thing to work (you would have to), you might as well
redesign the markup and script. Eg. use AJAX to send in data to one of the
processors, if not both.

-- 
Steve
http://mrclay.org/




More information about the Javascript mailing list