How to show linked file size 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:01 UTC
Read the original article Hit count: 293

Filed under:
|
|
|

For example:

Before

<a 
target="_blank" 
href="http://www.adobe.com/devnet/acrobat/pdfs/reader_overview.pdf">
Adobe Reader JavaScript specification 
</a>

After

<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

Related posts about jQuery

Related posts about XHTML