Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
C++
$.ajax
({
  type: "POST",
  url: "Default.aspx/CheckDateTime",
  data: "{'args':'" + tx_val + "'}",

  contentType: "application/json; charset=utf-8",
  dataType: "json",
  success: function(msg) 
  {
     msgbox.html(msg.d);
  }
});


I used this code in default.aspx and it is working fine.
Now I want to use it in js. How can I convert this code?
Posted
Updated 2-Mar-23 9:18am
v2

1 solution

There is nothing to convert, it is JavaScript already
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900