2
Answers

Import gmail contact using oauth2.0 in C#

Hello,
 
Can anybody suggest me link which contain example to import gmail contacts using oauth2.0?
Answers (2)
1
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Hi,
 
See below code:
 
$( document ).ready(function() {
 
   $( "#target" ).click(function() {
 
      var Result = "1,2,3,4,5,6,7,8,9,0"; 
      if(Result.indexOf($(this).val()) > 0)
      {
         alert("found");
      }
   });
 
});
 
Note:  If $(this).val()  didn't work then use id directly $("#target").val()
Accepted
1
Upendra Pratap Shahi

Upendra Pratap Shahi

NA 13.3k 861.3k 9y

 Hello ,

use below code-
 
<script type="text/javascript" language="javascript">

$(document).ready(function () {

$("#btnClick").click(function () {

alert('in');

var Result = "1,2,3,4,5,6,7,8,9,0";

if (Result.indexOf($("#btnClick").val()) > 0) {

alert("found");

}

});

});

</script>

<asp:Button ID="btnClick" runat="server" ClientIDMode="Static" OnClick="btnClick_Click" Text="Add" />

0
Upendra Pratap Shahi

Upendra Pratap Shahi

NA 13.3k 861.3k 9y
Your welcome Lucky Laxman.
0
Upendra Pratap Shahi

Upendra Pratap Shahi

NA 13.3k 861.3k 9y
according to your need this link work properly.
0
Lucky Laxman

Lucky Laxman

NA 141 3.3k 9y
Thanks
Manas Mohapatra And  Upendra Pratap Shahi
Both answer working fine .
 
Thanks lot saved my time :) .