469,917 Members | 1,473 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

read file path in javascript

I have put the file name in anchor tag. i am getting the name and path of the file from fileInfo class.
on onClick event of anchor i have passed this path to a javascript function like(C:\test\images\1.jpg).
but in alert message i am getting (C:testimages1.jpg)
I need full path. I can't replace "\" to "\\".
what should i do to get full path?
Oct 4 '07 #1
1 6766
gits
5,390 Expert Mod 4TB
hi ...

welcome to TSDN ...

please post the html- and js-code that relates to your problem, so that we may have a look at it.

kind regards
Oct 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by catronro | last post: by
2 posts views Thread by wstsoi | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.