chuleto1 has asked for the wisdom of the Perl Monks concerning the following question:
<script> function showCalendar( field ){ gfPop.fPopCalendar(top.document.all[ field ]); } var timer=null; function timerCheck(field, checkbox){ clearTimeout(timer); checkBox(top.document.all[field].value, checkbox); timer=setTimeout("timerCheck('"+field+"', '"+checkbox+"');", 1000); } function selectShifts(time){ var i=0; while (document.FilterForm.shifts.options[i]!=null){ if (document.FilterForm.shifts.options[i].value=="") document.FilterForm.shifts.options[i].selected=false; if (document.FilterForm.shifts.options[i].time==time) document.FilterForm.shifts.options[i].selected=true; i++; } checkBox("nonnull", 'useShifts'); } function checkBox(value, checkbox){ if (value=="" || value==null) document.FilterForm[checkbox].checked = false; else document.FilterForm[checkbox].checked = true; } function doNothing(){} </script>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex help
by sauoq (Abbot) on Oct 01, 2002 at 21:32 UTC | |
|
(jeffa) Re: Regex help
by jeffa (Bishop) on Oct 01, 2002 at 19:54 UTC | |
by sauoq (Abbot) on Oct 01, 2002 at 21:08 UTC | |
|
Re: Regex help
by Helter (Chaplain) on Oct 01, 2002 at 19:55 UTC | |
|
Re: Regex help
by swiftone (Curate) on Oct 01, 2002 at 19:55 UTC | |
by fglock (Vicar) on Oct 01, 2002 at 20:34 UTC | |
by Anonymous Monk on Oct 01, 2002 at 23:40 UTC |