<a id="search_button" class="floatbutton" type="submit" href="#data" target="_self" onclick="search()" style="left: 200px; width: 100px; height: 40px;">Search</a>
there is no type submit for an <a> ... maybe you want a <button> tag?? On Sep 3, 2007, at 5:36 PM, gregmcg wrote: > > Has anyone seen this? I'm not doing anything very complicated. I'm > using Aptana for development which uses Mozilla as the browser if > you'd like to debug. Things work as expected on Mozilla, then it > doesn't recognize the button click on Safari 3.0 beta or the iPhone. > > I copied the button code from another site that is working. > Code Snippets.. > > <meta name="viewport" content="width=320; initial-scale=1.0; > maximum-scale=1.0; user-scalable=0;" /> > > <style type="text/css" media="screen">@import "iui/iui.css";</style> > <script type="application/x-javascript" src="iui/iui.js"></script> > <script type="application/x-javascript" src="iphonecnews.js"></script> > > </head> > <body> > <div class="toolbar"> > <h1 id="pageTitle">iPhone</h1> > <a id="backButton" class="button" href="#">Back</a> > </div> > <ul id="home" title="Title" selected="true"> > <form onsubmit="return false;"> > <p>Search For: <input id="searchfor" alt="search for" > type=text> > Number of Results: <input id="results" alt="results" > type=text> > <a id="search_button" class="floatbutton" type="submit" > href="#data" target="_self" onclick="search()" style="left: 200px; > width: 100px; height: 40px;">Search</a> > </form> > </ul> > <ul id="data" title="Results"> > <div id="datacontainer"> > <div id="data"> > <p>data here.</p> > </div> > </div> > </ul> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
