Em vừa tìm được code này thấy cũng hay hay ... nên chia sẻ cho anh em ... nếu BQT thấy đã post rồi thì del topic dùm em Vui ! cảm ơn !
- Code:
<center><script> function grab() { id = document.getElementById("yahoo_id").value; document.getElementById("result").innerHTML = "<img src='http://img.msg.yahoo.com/avatar.php?yids=" + id + "&format=png'>"; return false; } </script> <h1>Avarta </h1><div><form onSubmit="return grab()">Yahoo! ID : <input id='yahoo_id' type="text"> <input type=submit value="Link"></form></
div
><div id="result"></div></center>