I would like to use jquery to update my attribute value, because I want the visitor when click the facebook likes then the likes' post will show different thumbnail in one html.
<link rel="img_src" href="myimg.jpg">
so I try to use the following code:-
$(document).ready(function(){
$("link").attr("href", myLinkFromXML);
});
but seem like not work.
Do you guys have any idea on this?
Thanks for advance. :)