I have a HTML form that truncates the action URL parameter after the question mark symbol – which is NOT the desired behavior I am looking for. I simply want to open the referenced URL within the same viewport.
[CODE]
<form action=”www.spufalcons.com/index.aspx?tab=gymnastics&path=gym”>
<input type=”submit” value=”Gymnastics”/>
</form>
In this case, the submit button takes you to the index.aspx page, effectively ignoring the parameters after the question mark. It appears that URL’s using HTML and PHP pages referenced in the a work as expected BUT (alas) this is not the case when the target page contains index.aspx. Cut and paste of the full URL into the toolbar brings me to the correct webpage. This behavior is consistent across all major browsers (IE, FF, Safari, Chrome, Opera).
Has anyone seen this problem before? Or can suggest an alternative and/or workaround consistent with my “pure” CSS/HTML/PHP web development approach? I have tried replacing the special characters with HTML entity values with no impact. I REALLY don’t want to use abandon my CSS-styled submit buttons by using Javascript or button PNG’s or image maps.
Environment:
Web Server: Apache 2.2.14
PHP: 5.2.10
OS: Mac OS X 10.5.8
TIA —