Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing Values in Excel File & calling it in Javascript

Status
Not open for further replies.

Vem786

Technical User
Dec 2, 2003
52
0
0
US
I have a Login Page(login.html) that has a Username & Password text fields. I have a login.js file that verifies the username & length of the password, that I'm calling from the Login.html.

My doubt is as there are 100 users, can I have a excel file loaded with usernames & passwords & call from login.js for verification of the User.

Thanks!!!
 
not with javascript on a multi browser viewed site.

are you asking this question int he ASP forum in hopes for a server side "ASP" solution?

from what I gather you're doing this all on a client level basis.

_____________________________________________________________________
onpnt2.gif
[sub]
Hakuna matata!!
[/sub]
 
I'm a idiot. thought I was in the ASP forum. ermm...

anyhow, still stands on the browsers. vbscript on IE can open a excel file but thats about it.

can you get server interventions

_____________________________________________________________________
onpnt2.gif
[sub]
Hakuna matata!!
[/sub]
 
You can access Excel from client-side Javascript using ActiveX objects.

Check out the examples on these pages:



I'm assuming that it is possible to instantiate a new Excel.Application, use a load() method to load an xls file, and use javascript to loop around the rows/columns comparing data values...

Hope this helps in some way!

Dan
 
Thanks All for the post!!!

I'll be back after checking these links.............
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top