/    Sign up×
Community /Pin to ProfileBookmark

List box submit button to open excel file

I need some help to point me to a good source where I can see how to open an excel file using Html. I have a list box and a submit button. When the user selects a name from the list box and clicks the submit button I need the onclick event to open the file. Is there a way to do this and if so is there an online example – I have looked everywhere. I am new with html and this is what I have so far. Thanks in advance. I really need some help.

</body>

<FORM NAME=”Reports”>
<SELECT NAME=”from” SIZE=”1″>

<OPTION VALUE=”Position”>Position
<OPTION VALUE=”AWA”>AWA
<OPTION VALUE=”Starts”>Starts
<OPTION VALUE=”Seps”>Seps
<OPTION VALUE=”Transfer In Out”>Transfer In Out
</SELECT>

<BR>
<INPUT TYPE=”button” VALUE=”Open Report” onClick=”get_report()”>
</FORM>
</BODY>

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @lca spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...