[FX.php List] Problems w/ Internet Explorer 7 (submit via image)

Timothy Tait bottledspider at gmail.com
Tue Mar 13 21:55:55 MDT 2007


this is probably a non-issue, since it's been so long, but be aware that you
can also remove the button tag completely by code like this:

<a href="javascript:validateForm()"><img src="./images/your.jpg"
border=0></a>

then in your validation code, if everything is okay, just add this line (or
something like it)

document.formName.submit();

that will work around any problem with the <button> tag.

i don't know that it will work on the mac, since i'm pc, but it should be
cross-browser...

cheers,
-t


On 2/26/07, Kevin Futter <kfutter at sbc.melb.catholic.edu.au> wrote:
>
> On 16/2/07 2:12 AM, "Jonathan Schwartz" <jonathan at eschwartz.com> wrote:
>
> > Question: Is it generally advisable to use system-generated submit
> > buttons and not images?
>
> Sorry to be late on this (start of school year, very busy, 6-8 weeks solid
> with no time to read *any* non-work related emails...). But to answer the
> question, yes, it's best to avoid type="image" for standards-compliant
> (and
> browser-compliant) solutions. Sure, the default button set can be ugly (FF
> users on Mac will put their hands up here), but they're reliable, and at
> the
> end of the day that's what counts.
>
> If you want to replace a button with an image, the <button> element is the
> better way to go. You can define a graphic source for it and give it a
> type="submit".
>
>
> --
> Kevin Futter
> Webmaster, St. Bernard's College
> http://www.sbc.melb.catholic.edu.au/
>
>
>
> ------------------------------------------
> This e-mail and any attachments may be confidential.  You must not
> disclose or use the information in this e-mail if you are not the intended
> recipient.  If you have received this e-mail in error, please notify us
> immediately and delete the e-mail and all copies.  The College does not
> guarantee that this e-mail is virus or error free.  The attached files are
> provided and may only be used on the basis that the user assumes all
> responsibility for any loss, damage or consequence resulting directly or
> indirectly from the use of the attached files, whether caused by the
> negligence of the sender or not.  The content and opinions in this e-mail
> are not necessarily those of the College.
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>



-- 
give a man a fire, and keep him warm for a day.
set a man on fire, and keep him warm for the rest of his life.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070313/ce267bf7/attachment-0001.html


More information about the FX.php_List mailing list