I suggested the both way, If you want to pass the parameter then use ;
parameters: {productPromoCodeId:$F('productPromoCode')} line 418.
Here the service will get the productPromoCodeId as parameter, note there is
no form submit.

Here
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Tue, Nov 10, 2009 at 10:21 AM, Ramkrishna Swamy <
ramkrishna.swamyof...@gmail.com> wrote:

> Hi Rishi,
> I saw the suggested file but in the file parameters are sent after
> submitting the form but in my case I don't submit the form and want to pass
> the parameter.
>
> --
> Thanks
> Ramkrishna
>
> On Mon, Nov 9, 2009 at 5:12 PM, Rishi Solanki <rishisolan...@gmail.com
> >wrote:
>
> > 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 <
> > ramkrishna.swamyof...@gmail.com> 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 <
> > > ramkrishna.swamyof...@gmail.com> 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