I have an ASP.NET page that contain a form that search the page.
Is there any solution so that I can have the search text in the URL?
I want to give the posi
You can also use jQuery to do the trick, like this:
$(function(){ $('input[type="submit"]').click(function(e){ e.preventDefault(); var searchResult = "Search.aspx?q=" + $('input#textbox').val(); $('form#myForm').attr('action',searchResult); }); });