jQuery Append - Modal Screen Problem
Hi,
I'm having a problem with modal screens and APEX. I can get the modal screen working but it is giving some unexpected behavior for the page items on submit. I have isolated it to the jQuery.append function. It seems that if I "move" a region with page items, after submit it messes up the item values.
For example, suppose I have the following regions and items:
REGIONA
- P1_APPLE
REGIONB
- P2_BANANA
I run the following javascript on P1:
$('#REGIONA').appendTo('#REGIONB');
I then enter "lots of apples" in P1_APPLE and click the Submit button.
When the page reloads, "lots of apples" appears in P2_BANANA.
Does anyone know why this is happening? Any work arounds?
Thank you,
Martin