passing parameters from javascript to package [message #76519] |
Tue, 15 October 2002 04:51 |
Golasa Taheri
Messages: 4 Registered: October 2002
|
Junior Member |
|
|
Hi,
I have a psp file which contain a Select Object
(<SELECT>....</SELECT>).I want to pass this SELECTed value to the package in my oracle database from this psp file.
how can i do it.please help me.
Thanks a lot
|
|
|
Re: passing parameters from javascript to package [message #76522 is a reply to message #76519] |
Mon, 21 October 2002 14:23 |
Prapoorna
Messages: 6 Registered: October 2000
|
Junior Member |
|
|
Take the value selected into a variable in a javascript function and then pass that variable in connect string when calling the package.
example:
var a = document.form.listboxname.options[[document.form.listboxname.selectedInex]].value.
Now when calling the package call as:
package.procedure?var_a=a;
Hope this helps.
Thanks
|
|
|