Hi there, I have created an auto submit for a dropdown box, however running into some issues...
The issue is the page submits, but doesnt go to the Request.Form I want it to (below)
In another question (https://www.experts-exchange.com/questions/28979728/Auto-Submit-on-dropdown-box.html
) They have mentioned that I 'need to alter the ASP code to detect when the select list value has changed and redirect accordingly.'
Unfortunately, this is where i am lost :(
If Request.Form("go")="Go!" Then
oConn.Execute("INSERT INTO site_log(log_session,brand_ID,log_page,log_date,log_time) VALUES("&Session_ID&",'"&SubDomain("brand_ID")&"','Show "&Request.Form("championship")&"','"&Date()&"','"&Time()&"')")
Set Championship=oConn.Execute("SELECT * FROM codes WHERE code_name='"&Request.Form("championship")&"'")
' cut from code
<td width=330 height=40 nowrap align=middle> <select name=championship class=inputbox onchange='this.form.submit()'>
</select><noscript><input type=submit value=Go! name=go class=inputsubmit></noscript></td>
Any help is appreciated