[thelist] Javascript submit()

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Thu Oct 11 03:58:59 CDT 2001


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

How about this (rusty JS from memory, sorry) to cover
all bases:

<script>
    var jsHTML='<a href="JavaScript://"\n'
    jsHTML .='   onClick="blah(); return false"\n'
    jsHTML .='><img src="blah"></a>'
    document.write jsHTML
</script>
<noscript>
    <input type="image" src="blah">
</noscript>

Cheers
Martin



in the interests of usability, you may wish
to include a short of information in a <noscript> block to alert non-js
users why the link isn't working.  although it would probably make *way*
more sense to link to a document describing the functionality attached to
the link that they aren't able to interact with.


--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.





More information about the thelist mailing list