static char *onChangeTable() /* Return javascript executed when they change group. */ { struct dyString *dy = onChangeStart(); jsDropDownCarryOver(dy, "clade"); jsDropDownCarryOver(dy, "db"); jsDropDownCarryOver(dy, "org"); jsDropDownCarryOver(dy, hgtaTable); return jsOnChangeEnd(&dy); }
static char *onChangeGroupOrTrack() /* Return javascript executed when they change group. */ { struct dyString *dy = onChangeStart(); jsDropDownCarryOver(dy, "clade"); jsDropDownCarryOver(dy, "db"); jsDropDownCarryOver(dy, "org"); dyStringPrintf(dy, " document.hiddenForm.%s.value=0;", hgtaTable); return jsOnChangeEnd(&dy); }
static char *onChangeDb() /* Return javascript executed when they change database. */ { struct dyString *dy = onChangeStart(); jsDropDownCarryOver(dy, "clade"); jsDropDownCarryOver(dy, "db"); jsDropDownCarryOver(dy, hgtaTable); dyStringAppend(dy, " document.hiddenForm.position.value='';"); return jsOnChangeEnd(&dy); }
static struct dyString *onChangeStart() /* Start up a javascript onChange command */ { struct dyString *dy = jsOnChangeStart(); jsDropDownCarryOver(dy, hgtaTrack); jsDropDownCarryOver(dy, hgtaGroup); jsTrackedVarCarryOver(dy, hgtaRegionType, "regionType"); jsTextCarryOver(dy, hgtaRange); jsDropDownCarryOver(dy, hgtaOutputType); jsTextCarryOver(dy, hgtaOutFileName); return dy; }
static struct dyString *onChangeStart() /* Start up a javascript onChange command */ { struct dyString *dy = dyStringNew(1024); dyStringAppend(dy, "onChange=\""); jsDropDownCarryOver(dy, hgtaNextIntersectGroup); jsDropDownCarryOver(dy, hgtaNextIntersectTrack); jsDropDownCarryOver(dy, hgtaNextIntersectTable); jsTrackedVarCarryOver(dy, hgtaNextIntersectOp, "op"); jsTextCarryOver(dy, hgtaNextMoreThreshold); jsTextCarryOver(dy, hgtaNextLessThreshold); jsTrackedVarCarryOver(dy, hgtaNextInvertTable, "invertTable"); jsTrackedVarCarryOver(dy, hgtaNextInvertTable2, "invertTable2"); return dy; }
static struct dyString *onChangeStart() /* Start up a javascript onChange command */ { struct dyString *dy = dyStringNew(1024); dyStringAppend(dy, "onChange=\""); jsDropDownCarryOver(dy, hgtaCGIGeneMafTable); jsTrackedVarCarryOver(dy, hgtaCGIGeneExons, hgtaJSGeneExons); jsTrackedVarCarryOver(dy, hgtaCGIGeneNoTrans, hgtaJSGeneNoTrans); jsTrackedVarCarryOver(dy, hgtaCGIGeneOutBlank, hgtaJSGeneOutBlank); jsTrackedVarCarryOver(dy, hgtaCGIOutTable, hgtaJSOutTable); jsTrackedVarCarryOver(dy, hgtaCGITruncHeader, hgtaJSTruncHeader); jsTextCarryOver(dy, hgtaCGINumColumns); return dy; }