i have a asp.net page. i m writing some words in a question textbox named txtTitle, after moving to another txtbox named txtbox2, i want that it should open a question-suggestion page based on that keyword typed in txtbox1 in the space before txtbox2. i hv tried this but it is not working. can anyone provide me the all the codes which are required to do this function.
<script type="text/javascript">
$(function() {
$("#txtTitle").blur(function() { QuestionSuggestions(); });
});
function QuestionSuggestions() {
var s = $("#txtTitle").val();
if (s.length > 2) {
document.title = s + " - ABC";
$("#questionsuggestions").load("QuestionList.aspx?title=" + escape(s));
}
}
</script>