Hi all,
I have a problem here and I do not see a good way to fix it yet. I created a search engine and it has a form where you can type your search words. When you submit your search, you got a list of results. Now that is fine, but I want a link on that page that takes you back to the form so you can modify your search terms with your values already filled in. I do not want to use the JavaScript history back-on thing (there can be multiple pages hit by the time the user wants to go back).
Everything works fine until someone types double quots in there (then the content disappears). Just because the fact <input type="text" value="<%=something%>">. If I use single quots, then it handles doubles fine, but then it messes up the singles. If someone types them mixed up, then the data will chopped.
Do you know how could I display those values without breaking the form?
I have a problem here and I do not see a good way to fix it yet. I created a search engine and it has a form where you can type your search words. When you submit your search, you got a list of results. Now that is fine, but I want a link on that page that takes you back to the form so you can modify your search terms with your values already filled in. I do not want to use the JavaScript history back-on thing (there can be multiple pages hit by the time the user wants to go back).
Everything works fine until someone types double quots in there (then the content disappears). Just because the fact <input type="text" value="<%=something%>">. If I use single quots, then it handles doubles fine, but then it messes up the singles. If someone types them mixed up, then the data will chopped.
Do you know how could I display those values without breaking the form?