I trying to put a src of an image to the src img attribute I thought only in one way is to get the the src by a function return. here is img tag: <img src="get_src()" alt="can't display picture" /> and the script is: function get_picA() { return "picA.png"; } in another way how to make src attribute dynamic
Aucun commentaire:
Enregistrer un commentaire