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? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -