On Wednesday, 12 August 2015 04:39:37 UTC+2, Édipo Luis Féderle  wrote:
> When a choose a file from my computer, the alert show me 
> c:\fakepath/image.png, for example.  Something wrong with code or is some 
> secutiry option on the browser...

Yes, fakepath is something browser do for security reasons. In some browsers it 
can be disabled manually by the user, but not in all, so it's something you'll 
have to live with.
Portably you can only know the file name, which can be done by using something 
like
```
(fn [e]
  (let [file (aget (.. e -target -files) 0)]
    (.-name file)))
```
for the `:on-change` event.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to