Original link below
window.location = "Home.aspx?search=" + document.getElementById("Searchtext").value;
is correct or missing
window.location.href = '<%= ResolveUrl("~/Home?search=") %>' + document.getElementById("Searchtext").value;
I am checking it, I will get back to you soon.
hi pratikshir,
Please refer below code and change your code.
JAVASCRIPT
window.location.href = '<%= ResolveUrl("~/Home.aspx") %>?search=' + document.getElementById("Searchtext").value;
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.