TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
vibhor jain
NA
44
7.7k
how to generate password for send massage on WhatsApp For C#
Jul 7 2017 5:13 AM
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>WhatsApp</title>
</head>
<body>
<table>
<tr>
<td>
User name:
</td>
<td>
<input type="text" id="txtPhoneNumber" style="width:400px;" />
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input type="password" id="txtPassword" style="width:400px;" />
</td>
</tr>
<tr>
<td></td>
<td>
<input type="button" id="btnLogin" value="Login" />
</td>
</tr>
</table>
<table>
<tr>
<td>
To:
</td>
<td>
<input type="text" id="txtTo" style="width:400px;" />
</td>
</tr>
<tr>
<td>
Message:
</td>
<td>
<textarea id="txtMessage" style="width:400px; height:70px;"></textarea>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="button" id="btnSend" value="Send" />
</td>
</tr>
</table>
<ul id="status"></ul>
<script src="Scripts/jquery-1.6.4.min.js"></script>
<script src="Scripts/jquery.signalR-2.2.0.min"></script>
<script type="text/javascript">
$(function()
{
var chat = $.connection.chatHub;
chat.client.notifyMessage = function (message) {
var endcodeMessage = $('<div />').text(message).html();
$('#status').append('<li>' + message + '</li>');
};
$.connection.hub.start().done(function () {
$('#btnLogin').click(function ()
{
var phoneNumber = document.getElementById('txtPhoneNumber').value;
var password = document.getElementById('txtPassword').value;
chat.server.login(phoneNumber, password);
});
$('#btnSend').click(function ()
{
var to = document.getElementById('txtTo').value;
var message = document.getElementById('txtMessage').value;
chat.server.send(to, message);
});
});
}
)
</script>
<ul id="status"></ul>
</body>
</html>
Reply
Answers (
1
)
Search product details by ASIN No. using Amazon Web Services
About Web Services in asp.net