JSP, Javascript, AJAX
Hi,
First and foremost, please direct me to the correct thread if my subject doesn't belong here.
Say I have the following form objects.
.....
<form name="form1" method="get" action="somewhere.jsp">
<select name="select" onchange="ajaxFunction(this.value)">
<option value="abc">ABC</option>
<option value="efg">EFG</option>
</select>
<input type="text" name="textfield" />
.....
What ajaxFunction() does is to retrieve data from db based on form1.select value and display the response text in form1.textfield.
When i triggered the function for the first time, it worked! However, my problem arised after i deliberately changed the db field, form1.textfield is not loaded with the updated value! No matter how many times i refresh the page and select any option, form1.textfield still show old values. I strongly feel there's something to do with caching but how do I solve this without manually deleting the Tomcat cache directory?

