Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 11-27-2014, 06:38 AM
stephen001 stephen001 is offline
Contributing Member
 
Join Date: 04-25-13
Posts: 89
iTrader: 0 / 0%
Unable to get file full path in Firefox using file browse dialog

I have a file browse dialog page, I am able to get the filename, but fails to get full file path in Firefox, this code works fine in IE.

can anyone tell what is the solution in Firefox

Code:
script type="text/javascript"> function performClick(elemId) { var elem = document.getElementById(elemId); alert(elem.value); } } </script> <a href="#" onclick="performClick('theFile');">Open file dialog</a> <input type="file" id="theFile" name = "theFile" />
 
Reply With Quote

Advertisement

Advertisement

Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant change ftp port, chkserv.d/ftpd file always back using original file basketmen Coding Forum 0 02-23-2012 08:55 PM
File of the full DB backup Website Coding Forum 4 11-06-2011 07:29 PM
unable to find htaccess file location seoleela Coding Forum 4 01-21-2010 11:47 AM
Exact path to an online file timmendorf Web Hosting Forum 3 11-27-2008 01:37 AM
FireFox : Save to file priyakochin Tech Talk 4 08-26-2007 12:38 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:16 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC