Quote:
Originally Posted by Dave234
How can i nest forms?
|
I just meant that if it's working now, then I must have been wrong about the problem.
When I did a search I found that the official html spec says that the behavior of nesting forms is "undefined", so I guess that means it may or may not work, and of course it might work differently on different browsers.
--------------- Added [DATE]1337714663[/DATE] at [TIME]1337714663[/TIME] ---------------
Here's some code that uses javascript instead of a form. It seems to work but I only tested it with firefox.
Code:
<img src="http://www.pollstar.com/images/logo.gif" width="100" alt="Powered by Pollstar" /><input type="text" name="SearchBy" id="SearchBy" /> <input type="button" value="Search" onclick="location.href='http://www.pollstar.com/eventSearch.aspx?SearchBy=' + encodeURIComponent(document.getElementById('SearchBy').value);"/>