Hi there,
I've created a page that uses 2 seperate functions for passing variables.
The first runs when the page loads and requests categories from a database to fill a dropdown box.
The second function sends a date value and the contents of the select from the dropdown box to search a database then outputs the results to the page.
They both use getelementbyid to display their results. the category search uses <div id="txtindex"> and the date/dropdown search uses <div id="txtupdate">
My problem is the results from the date/dropdown which should display in the 'txtupdate' div are displaying where the dropdown box used to be, so in the 'txtindex' div.
I've got a feeling it might be because i am fetching the <select name="area"> value with one function then resending that value with the second function along with the date(var1=myform.area.value;var2=myform.area.date) to get another result.
the codes here if you need a look i just didnt want to put up loads of code for you to have to scroll through.
cheers tom