469,327 Members | 1,292 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

The adress of an image

Can you help me ?
How can I reach the adress of an image in Javascript?

Thanks
Jul 23 '05 #1
2 959
Ivo
"Annick" wrote
Can you help me ?
How can I reach the adress of an image in Javascript?

If by address you mean url, and by reach you mean for example getting it in
an alert, have a look at this:
<img src="example.png" onclick="alert(this.src)">
If you want to do something else with it, please clarify.
HTH
Ivo

Jul 23 '05 #2
Annick wrote on 07 jun 2004 in comp.lang.javascript:
Can you help me ?
How can I reach the adress of an image in Javascript?


What do you mean by "reach" ?

(Antwoord kan ook in het Nederlands)

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by RosalieM | last post: by
1 post views Thread by KS | last post: by
reply views Thread by Jarod_24 | last post: by
3 posts views Thread by Jarod_24 | last post: by
11 posts views Thread by mwebel | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.