Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » passing parameters from javascript to package
passing parameters from javascript to package [message #76519] Tue, 15 October 2002 04:51 Go to next message
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 Go to previous message
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
Previous Topic: PROCEDURE DOESN'T EXIST TRAP DAD ERROR
Next Topic: client server comunication
Goto Forum:
  


Current Time: Fri Mar 29 00:43:25 CDT 2024