task

 SCRIPT select3.js 

[WHAT]

  1. [ def ]   script to populate 3 levels of in page selects for the SUBJECTS app, replacing repetitive inpage scripts
  2. [ args ] 

[WHY]

  1. [Properties]
    1. LIST.global = 
  2. [Constructors]
    1. ]
  3. [Methods]
    1. ] selectL1Change()
    2. ] selectL2Change()
    3. ] selectL3Change()

[WHERE called from]

  1. x] PG add/{L5}
    1. x] article, ] item ] step x] person, ] event ] location 
  2. x] PG find/article
    1. ]

[WHEN]

  1. ] 2014-mm-dd

[EXAMPLE]

  1. ] http://sospep.com/add/person
    1. ]

[HOW-TO]

  1. ] include reference to script on page
    1. ] /scripts/select3.js
  2. ] css
    1. ] none
  3. ] page components
    1. ]

[REFERENCE]

  1. ] map.js -v-001 - 

 


developer implementation

[.process]

  1. ]

[.notes]

  1.  ] the fill level 1 function was initially included in this script but has been moved to the global script

 


status 

[previously]

  1. x] 2013-08-09
    1. x] apply to PAGES add/{l5} * 6
    2. x] apply to PAGES edit/{L5} *6,
    3. ] jsLin
  2. x] 2013-08-10
    1. x] JS LINT - OK , 1 unused var cur_tgr TEST=FAIL (only loads 1 record)
    2. ]  JS LINT src=LINTwks1 -now failing, FIX PRB with var in for loop

[currently]

[next]

  1. ?] PG edit/article  [2014-01-26] 
    1. ] created from select3_s, generic version
  2. var qryL1;
  3. function setQryL1(qry){
        qryL1 = qry;
        alert("set"+qry);
    }
    function getQryL1(){
        return qryL1;
    }

Details Photos Edit more

Details

ID: 3975

NAME: SCRIPT-select3.js

DESCRIPTION: SCRIPT to populate and select 3 cascading select boxes

START DATE TIME: 2014-05-15 13:04:14

EST DURATION: 01:00:00

END DATE TIME: 2014-05-15 14:04:14

STATUS:

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities