I have this html code:
<input type="text" id="text1" placeholder="نام کاربری">
and this submit button:
<button type="submit" id="login-button" Onclick="window.location.href='Handler1.ashx?username='"+text1+"'" >ورود</button>
but up href not send html text box value with query string and send empty value,what happen?how can i solve that?thanks.