How to show linked file size and type in title attributes using jquery?
Posted
by jitendra
on Stack Overflow
See other posts from Stack Overflow
or by jitendra
Published on 2010-03-21T19:59:48Z
Indexed on
2010/03/21
20:41 UTC
Read the original article
Hit count: 434
For example:
Before
<a
target="_blank"
href="http://www.adobe.com/devnet/acrobat/pdfs/reader_overview.pdf">
Adobe Reader JavaScript specification
</a>
Bcoz file is PDF so title should be title="PDF, 93KB, opens in a new window"
<a
title="PDF, 93KB, opens in a new window"
target="_blank"
href="http://www.adobe.com/devnet/acrobat/pdfs/reader_overview.pdf" >
Adobe Reader JavaScript specification
</a>
© Stack Overflow or respective owner