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

  contentType: "application/json; charset=utf-8",
  dataType: "json",
  success: function(msg) 

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?
Updated 2-Mar-23 9:18am

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