I believe that image submit buttons don't pass a value, they pass the
coordinates of the click on the image (for doing server-side image
maps).  So what's probably happening is the page you're submitting to
is checking for a value of "next 10", and since it's not there, it's
just reloading the same 10 results.

cheers,
barneyb

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

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198492
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to