You shouldn't need the javascript, the fact that it's an image should also
ensure that it's a submit button. Are you doing some sort of check on your
action page to see if it has been submitted?

Kola

> -----Original Message-----
> From: Robert Orlini [mailto:[EMAIL PROTECTED]
> Sent: 14 March 2005 14:00
> To: CF-Talk
> Subject: RE: OT: Image Submit button
> 
> Thanks Troy. It does not submit the value just refreshes though.
> 
> Robert O.
> 
> -----Original Message-----
> From: Troy Murray [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 11, 2005 4:29 PM
> To: CF-Talk
> Subject: Re: OT: Image Submit button
> 
> 
> Try this instead for the button:
> 
> <button type="submit" class="formitems"><img src="/images/next10.gif"
> border="0"> Next 10</button>
> 
> -t
> 
> 
> On Fri, 11 Mar 2005 14:19:39 -0500, Robert Orlini <[EMAIL PROTECTED]>
> wrote:
> > I have another problem with a submit button. It works well as input
> type="submit" and moves on to the next ten records, but when I change it
> to an image it seems to just refresh the page but not go to the next
> records.
> >
> > This works: <input type="submit" class="formitems" value="Next 10"
> name="submitNext">
> >
> > This does not: <input type="image" class="formitems"
> src="/images/next10.gif" value="Next 10" name="submitNext"
> onclick="javascript:this.form.submit();">
> >
> > I added onclick="javascript:this.form.submit(); but to no avail.
> >
> > Am I missing something here?
> >
> > Robert O.
> > HWW
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.308 / Virus Database: 266.6.4 - Release Date: 3/7/2005
> >
> >
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198642
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to