View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
I have an application where I gather URLs and descriptive text from a table and I want to populate an option box. The problem is that I cannot figure out the syntax.
function formHandler(form){
var URL =[].value;
window.location.href = URL;
<form name="form">
    <FONT COLOR="#000000" SIZE="3">
        <select name="site" size=1 onChange="javascript:formHandler()">
        <option value="">Class Stuff:....
        <%FOR 1 = 1 TO lnRecs%>
        <option value="<%RTRIM(iURL)%>"><%RTRIM(iText)%>
In this example I need to get the syntax right and have the click sent to the formhandler(). Although I can do without the formhandler() and put a button, I need to know what the button needs to know to fetch the page. In either event, can someone help with the <option> syntax and page fetching please?