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!

Get value of page item before submit.

MFadelOct 10 2014 — edited Oct 15 2014

Hello everyone, I'm using Application Express 4.2.5.00.08. I have a question regarding getting a value from a page item before the page is submitted. I have a dynamic action:

Action: Mouse Move (over a region/report)

True Action: $('a[href*="39"]').each(function(index) {
  lnk = $(this).attr('href'); 
$(this).parent()         
.parent('tr') 
  .attr('data-href', lnk)   
.mouseover(function(){   
  $(this).css('cursor', 'pointer');
var lRow = $(this).closest("tr"),   
BLOCK = lRow.find("td[headers=BLOCK]").text();
$x('P39_BLOCK').value = BLOCK;
    })   
.mouseleave(function(){
      $(this).css('cursor', 'default');   
})
});

I'm successfully able to get the value of the row while i'm hovering over the report (and P39_BLOCK is refreshing). But, in this case, the value is not being set every time it changes. My question is, if i need to use this value (say, set another page item when P39_BLOCK is changed) without submitting the page, how is this possible?!

Regards,
MFadel.

This post has been answered by J-Lig on Oct 13 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2014
Added on Oct 10 2014
10 comments
4,157 views