Index
Index 2
Why I use Linux and Firefox
HTML DB & Javascript
The Basics
Enable/Disable Form Items
HTML DB Javascript Remix
Show/Hide/Toggle Form Items
htmldb_Get Introduction
AJAX & DHTML
AJAX
Set Multiple Items
(AJAX) Auto Update Report
(AJAX) Collection Control
(AJAX) Process On Demand
(AJAX) Report Pull
(AJAX) Report Row with Detail
(AJAX) Select Items
(AJAX) Set Item Value
(AJAX) Tree
htmldb_Get Aysnc Extension
DHTML
Form Element Focus
Progress Meter On Submit
Region Tabs
Report Row With Detail (iframe)
Report Row with Detail
Shuttle (Item Based)
Shuttle (PL/SQL Based)
Smart Table
List (DHTML Tree)
Show/Hide Report Columns
HTML DB Usage
Linked Reports
HTML/CSS/Layout
HTML DB DHTML Tree
Region Position
Report Row Templates
Multi Region Form Layout
Vertical Aligned Regions
Layout Example
SVG / Canvas
Canvas #1
Custom Charts
Thermometer
Scatter (Coming Soon)
Timeline (Coming Soon)
SVG Knowledge Tree
Pie Chart CSS
Bar Spacing
Application Exports / CSS / JS
htmldb_Get Aysnc Extension
On Demand Test
Text to Send to Process
Text Drop
Code
This functionality requires the
htmldb_remix.js
file.
Javascript Code
<script language="JavaScript" type="text/javascript"> <!-- function f_TestOnDemand(){ var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=ajax_Process_Long',0); get.add('TEMPORARY_ITEM',html_GetElement('P62_TEST').value) get.GetAsync(f_AsyncReturn); get = null; } function f_AsyncReturn(){ if(p.readyState == 1){ html_GetElement('P62_TEXT_DROP').value = ''; html_ShowElement('AjaxLoading'); }else if(p.readyState == 2){ }else if(p.readyState == 3){ }else if(p.readyState == 4){ html_GetElement('P62_TEXT_DROP').value = p.responseText; html_HideElement('AjaxLoading'); }else{return false;} } //--> </script>
Ondemand Process
declare l_counter number; l_o_name varchar2(2000); begin htp.prn('<body>'||chr(10)); for i in 1..5000 loop htp.prn('<payload id="test'||i||'">'||i||':'||v('TEMPORARY_ITEM')||'</payload>'||chr(10)); end loop; htp.prn('</body>'); end;
Loading DIV
This HTML has been added to the page footer
Links
Forum Message
..Loading..