troubleshooting Question

Cannot pass javascritp submits on multiple iFrames on Mac Browsers

Avatar of bostoncybertech
bostoncybertech asked on
JavaScriptWeb Browsers
9 Comments1 Solution202 ViewsLast Modified:
I've tried submitting posts to multiple iFrames which works on IE and Firefox but cannot get working on Firefox, IE and Safari on Mac OS X 10.3.9 and 10.4 .

Here's the javascript code:

<script language='javascript'>
<!--
function submitResults(){
      var townVar = document.mapResults.town.value;
      document.map.town.value=townVar;
      document.map.submit();
      document.mapResults.submit();
}
-->
</script>

And the HTML:

<form name="map" action="map.php" target="map" method="POST">
      <input type="hidden" name="town" value="">
      <input type="hidden" name="GoButton" value="Go">
</form>

<a href='javascript:submitResults()'>Submit</a>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros