Sponsored By
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Article
Forum
Blog
Quiz
Beginner
Careers
Contact
Login
Email Id
Password
Remember Me
Forgot Password?
Sign Up
Home
|
Product
|
Services
|
About Us
|
Interview
|
DeveloperSection
|
Submit an Article
|
Submit Blog
Report Abuse Form
Reason:
Home
>>
Scripting
>>
Java Script
>>
encode the password by javascript
Author
Post
Varun Agrawal
Total Post:
3
Member Since:
3/18/2011
Points:
15
encode the password by javascript
Posted On:
3/29/2011 6:48:42 AM
Report Abuse
How to encode and decode the password by javascript.
please give the syntax of this problem.
Reply
Author
Post
Amit Singh
Total Post:
104
Member Since:
8/8/2010
Points:
702
Re: encode the password by javascript
Posted On:
3/29/2011 7:33:38 AM
Report Abuse
hello varun,
In javascript, we encode the password or any string by using the escape() method and decrypt the string by used unescape() methods.
for example
<script type="text/javascript">
var strValue = "this is the new password";
var strvalue1=document.writeln(escape(strValue));
document.write(unescape(strvalue1));
</script>
Reply
Report Abuse Form
Reason:
Total Online Users:
2588
Advertisement
Advertise with Us
Copyright ©
2013
MindStick. All Rights Reserved.
Home
|
Contact Us
|
Services
|
Feedback
|
Advertisement
|
Privacy Policy
|
Term & Conditions
|
About Us