Alter HTML and/or Javascript to display email onclick instead of Browse button.

In Progress Posted 6 years ago Paid on delivery
In Progress Paid on delivery

Trying to pass the needed value, or path of an email message to the [url removed, login to view] script using an image link instead of a Browse button.

The html file calls all three of the external javascript files. But, I don't think any of them need to be changed.
Just the script portion in the html page.
It's an open source email reader script

It seems to me, the value to be passed to the script would be the file path to the email file.

In the original html file uploaded, it shows a browse button... which I want to eliminate and use a link instead.
I don't have an email file to use for testing.

<input type="file" class="src-file"/>
Instead of a browse button it needs to be a link which just passes a value (the file path?) to the reader script

From what I can tell, it gets plugged in to selectedFile, where is reads: var selectedFile = this.files[0];
Above that it reads: $('.src-file').change(function(){

src-file is the same as the class
The Browse button shows the same class

As it stands, the email file would be identified via the Browse button.
But I don't want the user to Browse to their own computer to find an email to read.
Instead, they should be able to click on a link to read a selected one from a server.

I don't know if an Ajax call is needed, or using HTTPRequest, or just passing the file path to the script using onclick
The path can be identified in the onclick of the link.

I guess you can imagine a bunch of links in a list on a page. Each link would bring up a different email to read.
The whole idea of using the email reader is so the user doesn't have to have Outlook installed.
Most of the functionality is already here.
The script just needs to be altered some way to pass a value with a link because the Browse button has to be removed.

HTML JavaScript

Project ID: #15751742

About the project

13 proposals Remote project Active 6 years ago

Awarded to:

roboinfotech2017

We Believe in Delivering Perfect Work and Providing Full Satisfaction to Our Client . We also Insure to Deliver the Work in the given Time Frame . we have highly Qualified Professionals in our team. Relevant Skills an More

$25 USD in 2 days
(2 Reviews)
1.0

13 freelancers are bidding on average $22 for this job

designju

I have read the description and understand your requirements. i am available right now... to work on this job... Relevant Skills and Experience I am Graphic Designer with the 15 year experience in Graphic Designing a More

$25 USD in 1 day
(10 Reviews)
4.9
Beannsofts

Check our many good reviews from our satisfied customers in software and websites development. We will make you happy Relevant Skills and Experience developer Stay tuned, I'm still working on this proposal.

$21 USD in 7 days
(16 Reviews)
4.2
nrtechweb

Hi, I am a senior php, WordPress and java script dev. I have 5years of experience in web development. I will fix the issue of java script and i will add any new functionality. As i am a strong coder so i will More

$35 USD in 2 days
(20 Reviews)
3.9
jomingeorge94

I believe I have the knowledge and skills in order to finish this project on time. Relevant Skills and Experience HTML (covering all doctypes including HTML5) CSS JavaScript JQuery MySQL Node.js Angular React.js Ja More

$15 USD in 1 day
(7 Reviews)
3.3
kaleshwarchand83

Hi, I can make the change from browse button to image right now thanks Relevant Skills and Experience Experienced with javascript Proposed Milestones $10 USD - project completion

$10 USD in 0 days
(12 Reviews)
3.4
cstone90

It looks like some basic help with Javascript is required here. I'd like to gather some more info but sounds like I would be happy to help :) Relevant Skills and Experience Javascript developers for 4 years, web devel More

$30 USD in 2 days
(0 Reviews)
0.0
esamabdelrazekk

i'm expert in js and html , i'm the best one for this mission :) +7 years Experience , i can show you a previous work in the chat. Relevant Skills and Experience html , js , jquery, ajax , angular 4 , bootstrap ,, et More

$10 USD in 1 day
(0 Reviews)
0.0