1) Script Title: Combo Box View
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...omboviewer.htm
3) Problem: I'm using this script to provide more information for items selected on a form. I'm wondering if maybe I just can't use this script within a form?
When I go to preview the page, I get a run time error: "document.dropmsgform.dropmsgoption is null or not an object". It's line 42 but I assume that's specific only to my site.
The first bit of code in the head section I copied and pasted exactly as-is on the instruction page, with no changes.
This is my 2nd section:Did I do something wrong?Code:<form name="dropmsgform"> <select name="dropmsgoption" size="1" style="width:300" onChange="expandone()"> <option selected>Please Choose A Standard Template</option> <option>Admissions (Charge Posters)</option> <option>Admissions (Non Charge Posters)</option> <option>BACC Office Staff</option> </select> <br> <div id="dropmsg0" class="dropcontent"> Admissions: Network Login Email PatCom EZ Access ADT EZ Access Data Warehouse </div> <div id="dropmsg1" class="dropcontent"> Admissions: Network Login Email PatCom EZ Access ADT EZ Access Data Warehouse </div> <div id="dropmsg2" class="dropcontent"> Admissions: Network Login Email PatCom EZ Access ADT EZ Access Data Warehouse </div> <div id="dropmsg3" class="dropcontent"> BACC Office Staff: Network Login Email PatCom EZ Access ADT EZ Access Data Warehouse Scheduler </div>



Reply With Quote
Bookmarks