Posts

Showing posts from November 17, 2008

AJAX get Page Report w/ loading animation

When using AJAX to request new page content, loading animations are useful because the users won't see their browser's status bar loading animation. You can try a working example of my AJAX get Page Report w/ loading animation demo . 1. Add on your page a "Report Region" using an SQL Query for the data source. Identification > Static ID: p27_report_drop Source > Region Source: select null from dual where 1 = 2 Header and Footer > Region Header: <img src="http://www.blogger.com/i/processing3.gif" /> You should see an empty report with a loading animation. 2. Add the jQuery code to request page 27 Report Region. <script src="http://www.google.com/jsapi"></script> <script> // Load jQuery google.load("jquery", "1.2.6"); </script> <script> $(function() { // send request $.post("wwv_flow.show", {p_flow_id:$('#pFlowId').attr(