471,854 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,854 software developers and data experts.

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 983
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
NeoPa
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.