[thelist] Avoid "#" and "onclick" in "<a href"

Stefan Schwarzer st.schwarzer at geois.de
Mon Mar 27 09:31:35 CST 2006


So, if I wonna stick to images (with rollovers) to submit forms I  
should use "input type=image" instead of "a href='#' onclick='...'" ?


>> Oh, thanks for these lessons. Gush, lots to learn...
>>
>> Acutally, I think the (one?) reason for using the "#" and onclick-
>> event is because I use images instead of the normal input-button.
>> Something wrong with that?
>
> Well, you rely on JavaScript where you really needn't to. If you want
> to use links instead of submit buttons why not replace them when
> JavaScript is available and leave them as they are if it isn't?
>
> I've listed the options and a possible solution at "Styling submit
> buttons or using links to submit a form?" :
> http://www.wait-till-i.com/index.php?p=211
>
> Enjoy,
>
> Chris
> -- 
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>




More information about the thelist mailing list