Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » APEX variable not updated for javascript calling
APEX variable not updated for javascript calling [message #654127] Wed, 27 July 2016 04:54 Go to next message
pcouas
Messages: 112
Registered: February 2016
Senior Member
Hi

I have an button that calling an Javascript from button clicking.
In my javascript i use APEX variable &P29_MMTO.
But this old value, i have change it just before in my screen ?
How could i obtain last value ?


Regards
Phil
Re: APEX variable not updated for javascript calling [message #654237 is a reply to message #654127] Thu, 28 July 2016 11:45 Go to previous messageGo to next message
pcouas
Messages: 112
Registered: February 2016
Senior Member
Hi


Sorry my english is not very good.
My APEX 4.0.2 has an button which calling an javascript new page URL with parameter like &P29_YYYTO.
But this parameter keep old value, not value change just before
How could i make an SUBMIT just before calling button, BUT i want open an new url page and not redirect to url page and not Closing Form page ?

Regards
Re: APEX variable not updated for javascript calling [message #654241 is a reply to message #654237] Thu, 28 July 2016 13:07 Go to previous message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'd use a two-step dynamic action. The first step would SUBMIT; the second one would execute JavaScript code.
Previous Topic: Apex image access
Next Topic: APEX 5 deploy with WebLogic setting REMOTE_USER
Goto Forum:
  


Current Time: Mon Mar 18 23:20:24 CDT 2024