PL/SQL and Javescript Function result [message #361718] |
Thu, 27 November 2008 14:48 |
ramtin
Messages: 37 Registered: November 2008
|
Member |
|
|
Hi,
I have one onBlur event on one of form field and create a function which now just has one alert command.
This function will call in onBlur event. Everything is working fine.
Now I need pass two number values to this function and also take back the result of that. I need some information or sample code that shows me how I can get the result of calculation from JavaScript function to my PL/SQL Code the result is and number value.
Thank you
|
|
|
|
Re: PL/SQL and Javescript Function result [message #361720 is a reply to message #361719] |
Thu, 27 November 2008 15:19 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
You can't. "Just change the code", that is.
Javascript runs on the client in the browser. PL/SQL runs on the database server.
You need to set up an entire framework in the middle. Perhaps a Webserver or an XSQL Servlet that answers to an XMLHttpRequest and get's the data from the database.
Some more info :
AJAX
XMLHttpRequest
XSQL Servlet
|
|
|