html - Mobile Safari - Form Submit, go back, then on resubmit it refreshes page -


I have an HTML form where users can select the filter and submit requests for the list based on those filters Are there. The user goes back to the mobile safari only and tries to re-submit the form based on the same or different filters, it only refreshes the page. Here's the form code ... I added that click because it was initially not loaded but did not do anything.

  & lt; Form method = "get" id = "gamefilterform" & gt; & Lt; Select Name = "gametype []" Multiple & gt; & Lt; Option value = "0" style = "visibility: hidden" label = "zero" & gt; & Lt; / Options & gt; & Lt; Option value = "1" selected = "selected" label = "team" & gt; Team & lt; / Option & gt; & Lt; Option value = "2" selected = "selected" label = "head_to_head" & gt; Head to Head & lt; / Option & gt; & Lt; / Select & gt; & Lt; Select name = "gamediff []" multiple & gt; & Lt; Option value = "0" style = "visibility: hidden" label = "zero" & gt; & Lt; / Options & gt; & Lt; Option value = "1" selected = "selected" label = "easy" & gt; Easy & lt; / Option & gt; & Lt; Option value = "2" selected = "selected" label = "medium" & gt; Medium & lt; / Option & gt; & Lt; Option value = "3" selected = "selected" label = "hard" & gt; Hard & lt; / Options & gt; & Lt; / Select & gt; & Lt; Input name = "list" type = "submit" value = "list" formaction = "games / list.php" onclick = "document.getElementById ('gamefilterform'). Submit ()" & gt; & Lt; Input name = "random" type = "submit" value = "random" formation = "Games / Random Php" onclick = "document.getElementById ('gamefilterform'). Submit ()" & gt; & Lt; / Form & gt;  


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -