Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javascript prompt() position on screen (or alternative)

melinda_fAug 18 2015 — edited Aug 20 2015

Hello,

I'm using javascript prompt()  to prompt the user for a single piece of information and populate a page item.  Works great to get the info I need, except the prompt appears in the upper left hand corner of the screen when running in Internet Explorer.  I've not found anything indicating if there is a way to specify the position of the prompt.  Does anybody know if this is possible to do or if not is there an alternative to using javascript prompt() that would allow for better positioning?

using Apex 4.2 against 11g database, my code is as follows:

$x('P4_AUDIT_COMMENT').value=prompt('Please enter an audit comment explaining the need to modify.','');

When running in Firefox, the prompt displays front and center.  Internet Explorer is the company standard however, so it would be best if I could make this display well on both browsers.

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2015
Added on Aug 18 2015
0 comments
553 views