$("select#NewUser").change(function(){ if ($(this).val() == 0) { window.location.href = http://www.url-to-form.com } });
ciupaz wrote:
Hi all, having a select option: <select id="NewUser" name="NewUser"> <option value="0">---Insert New User---</option> <option value="1">Mark</option> <option value="2">Ted</option> </select> on the click of the input=Submit, if is selected "Insert New User", how can I redirect the user to another page (.aspx, .ascx, .html, etc) where he can insert the new values? Thanks in advance. Luis