Hi Ram,

If you are on same window then you can easily copy value by using its id.
$('targetId').value = $('sourceId').value in JS.
If you need to pass it as request then can see many example of form
parameters submission in checkoutProcess.js.
If wanna to submit whole form then go like ;
parameters: $('shippingOptionForm').serialize(), requestHeaders: {Accept:
'application/json'}
if wanna to submit single or two value then go like ;
parameters: {productPromoCodeId:$F('productPromoCode')}

Reference file in OFBiz -
/ecommerce/webapp/ecommerce/images/checkoutProcess.js

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Fri, Nov 6, 2009 at 1:47 PM, Ramkrishna Swamy <
[email protected]> wrote:

> Is this possible or not???
> Actually i have a drop down and i want selected partyid to be passed on to
> other form without submitting the first form.
> plz hlp....
>
> Thanks
> Ramkrishna
>
>
> On Thu, Nov 5, 2009 at 12:36 PM, RamKrishna Swamy <
> [email protected]> wrote:
>
> > Hi list,
> >
> > How can I set a selected partyId's value in request/parameter in
> > javascript??
> > Please help.
> >
> > Thanks
> > Ramkrishna
> >
>

Reply via email to