Well, I posted my project and got no comments, so maybe it was information overkill. I really, really need a solution though so I'm putting it in hypathetical terms so maybe someone can figure a good solution. All I need is to be able to save and reload the list via a cookie. Ok, here's the sitch:
<form name="BigList">
<input type="text" name="Ftext">
//user inputs text here and it creates the option.text
//of an option in document.BigList.List below
<input type="text" name="Fval">
//user inputs text here and it creates the option.value
//of an option in document.BigList.List below
<input type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Add" onClick="AddNewOption()">
//I already have a function for this button.
<select name="List"></select>
//this is the "list" with options created from above text fields
<input type="button" value="Save" onClick="saveFunction()">
//this is the function I need.
<input type="button" value="Load" onClick="loadFunction()">
//I need this one too.
</form>
The entire code that I am working with is posted in another thread entitled "list options via cookieArray" which might be useful. I am asking the question again in this thread because I thought maybe someone would have a better idea of how to do this if they didnt look at my original code lol.
Thanks in advance if you spend time on this, my brain hurts after a week of trying without success. If you solve this one for me, I just might go and name my next born after you!
(or at least my next cat lol )
Cheers.
<form name="BigList">
<input type="text" name="Ftext">
//user inputs text here and it creates the option.text
//of an option in document.BigList.List below
<input type="text" name="Fval">
//user inputs text here and it creates the option.value
//of an option in document.BigList.List below
<input type="button" value=http://www.webdeveloper.com/forum/archive/index.php/"Add" onClick="AddNewOption()">
//I already have a function for this button.
<select name="List"></select>
//this is the "list" with options created from above text fields
<input type="button" value="Save" onClick="saveFunction()">
//this is the function I need.
<input type="button" value="Load" onClick="loadFunction()">
//I need this one too.
</form>
The entire code that I am working with is posted in another thread entitled "list options via cookieArray" which might be useful. I am asking the question again in this thread because I thought maybe someone would have a better idea of how to do this if they didnt look at my original code lol.
Thanks in advance if you spend time on this, my brain hurts after a week of trying without success. If you solve this one for me, I just might go and name my next born after you!
(or at least my next cat lol )
Cheers.