How to send parameters from HTML to .js file
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.jscript.

Post a new message to this list...

SimpleTechie
Hi all, I have a jscript question. The users select a name
in a drop down list and enter a password in a input field
of a HTML page. I have a js file with the username-
password pairs. How do I pass these parameters to the js
file and return a true or false based on the comparison?

Hoping for pointers. Any code available?
Thanks.
Reply to this message...
 
    
name
<input type="password" ==== **********

1. Do use https to transmit a password.

2. Do not save/submit/pass/play with a password in plain text.

=================================

if there is trouble (2.), a big company may get away with.

A small will not.

-------------------

Also see Comparison operators javascript

== (simple)

and

==== (for identity)

which can compare [objects].

"SimpleTechie" <Click here to reveal e-mail address> wrote in message
news:30ee01c47107$15dd9750$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com