edit-task
Home
Up
Delete
Task Name:
Task Description:
SCRIPT to populate and select 3 cascading select boxes
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;"> SCRIPT select3.js </h1> <h2>[WHAT]</h2> <ol> <li>[ def ] script to populate 3 levels of in page selects for the SUBJECTS app, replacing repetitive inpage scripts</li> <li>[ args ] </li> </ol> <h2>[WHY]</h2> <ol> <li><strong>[Properties]</strong></li> <ol> <li>LIST.global = </li> </ol> <li><strong>[Constructors]</strong></li> <ol> <li>]</li> </ol> <li><strong>[Methods]</strong></li> <ol> <li>] selectL1Change()</li> <li>] selectL2Change()</li> <li>] selectL3Change()</li> </ol></ol> <h2>[WHERE called from]</h2> <ol> <li><strong>x] PG add/{L5}</strong></li> <ol> <li>x] article, ] item ] step x] person, ] event ] location </li> </ol> <li><strong>x] PG find/article</strong></li> <ol> <li>]</li> </ol></ol> <h2>[WHEN]</h2> <ol> <li>] 2014-mm-dd</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>] <a href="http://sospep.com/add/person" target="_blank">http://sospep.com/add/person</a></li> <ol> <li>]</li> </ol></ol> <h2>[HOW-TO]</h2> <ol> <li>] include reference to script on page</li> <ol> <li>] /scripts/select3.js</li> </ol> <li>] css</li> <ol> <li>] none</li> </ol> <li>] page components</li> <ol> <li>]</li> </ol></ol> <h2>[REFERENCE]</h2> <ol> <li>] map.js -v-001 - </li> </ol> <p> </p> <hr /> <h1 style="text-align: center;">developer implementation</h1> <h2>[.process]</h2> <ol> <li>]</li> </ol> <h2>[.notes]</h2> <ol> <li> ] the fill level 1 function was initially included in this script but has been moved to the global script</li> </ol> <p> </p> <hr /> <h1 style="text-align: center;">status<span style="font-size: 10px;"> </span></h1> <h2>[previously]</h2> <ol> <li><strong>x] 2013-08-09</strong></li> <ol> <li>x] apply to PAGES add/{l5} * 6</li> <li>x] apply to PAGES edit/{L5} *6,</li> <li>] jsLin</li> </ol> <li><strong>x] 2013-08-10 </strong></li> <ol> <li>x] JS LINT - OK , 1 unused var cur_tgr TEST=FAIL (only loads 1 record)</li> <li>] JS LINT src=LINTwks1 -now failing, FIX PRB with var in for loop</li> </ol></ol> <h2>[currently]</h2> <ol> <li>] </li> </ol> <h2>[next]</h2> <ol> <li>?] PG edit/article [2014-01-26] </li> <ol> <li>] created from select3_s, generic version</li> </ol> <li>var qryL1;</li> <li>function setQryL1(qry){<br /> qryL1 = qry; <br /> alert("set"+qry);<br />}<br />function getQryL1(){<br /> return qryL1;<br />}<br /><br /></li> </ol>