javascript - Blogger changing alt tag -


hiya guys i'm having trouble changing alt tags dynamicly on blogger.

i tried following script works on older blog test example, i'm adding blogger uses newest widgets.

<script> $("img").each(function() { $(this).attr('alt', '<data:title/>'); }); </script> 

any thoughts?

it should <data:post.title/> instead

<script> $("img").each(function() { $(this).attr('alt', '<data:post.title/>'); }); </script> 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -