Discussion Forums  >  Uncategorized

Replies: 2    Views: 252

Aaron636r
Aspiring developer
Profile
Posts: 246
Reg: Mar 08, 2011
California
3,160
09/16/11 10:24 AM (14 years ago)

Some coding help

I'm trying to add our dealer locater to my app. Doing it the easiest way possible. I just took some code from our website. Works on the phone by adding a HTML page. However, just doesn't look right. You can put in your zip code and hit enter on your keyboard...and all is well. However, I would like to add an actual button on the page that say search. Anyone willing to help me with that? Here is the code as it stands now. We pay for this service, so no...nothing illegal here. --------------------------- <div style=float: left; width: 168; text-align: center;><form id=searchFORM action=http://www.nearestoutlet.com/cgi-bin/vizual/findvizual.pl method=post> <fieldset class=spacer> <h4>DEALER LOCATOR</h4> <label>ENTER ZIP CODE</label><br /> <input id=txtName name=zipcode type=text /> <input class=btnSearch onclick=pollSubpop('','pollpopup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=395,height=425'); this.form.submit(); src=/themes/VizLogic/images/btn/search.jpg type=image /> </fieldset> </form></div> </span></div>
 
Aaron636r
Aspiring developer
Profile
Posts: 246
Reg: Mar 08, 2011
California
3,160
like
09/16/11 10:29 AM (14 years ago)
Link to an image of the current style http://db.tt/M3mc1KT
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
09/16/11 06:43 PM (14 years ago)
The code you're using is trying to use an undefined style and a button image without a complete url. I redid the code slightly. Give this a try and see if you like how it works: <div style=float: left; width: 168; text-align: center;><form id=searchFORM action=http://www.nearestoutlet.com/cgi-bin/vizual/findvizual.pl method=post> <fieldset class=spacer> <h4>DEALER LOCATOR</h4> <label>ENTER ZIP CODE</label><br /> <input id=txtName name=zipcode type=text /> <input type=submit value=Search Now></fieldset> </form></div> </span></div>
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.