quick question
are you doing this via ASP or client vbscript?
ASP would be simple
simple get the referer page URL with a servervaraible request and populate the select on that condition
here would be the steps in that case
get the last page with Request.ServerVariables("HTTP_REFERER" and store in a variable
create arrays with the contents of each select possibility and on the value of the varaible holding the referer simple loop thru them placing them in the options.
---------------------------------------
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee"alert(Nstr); }
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.