You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
807 B
33 lines
807 B
5 years ago
|
https://www.tutorialspoint.com/online_jquery_editor.php
|
||
|
|
||
|
|
||
|
<title>Try jQuery Online</title>
|
||
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||
|
<script>
|
||
|
$(document).ready(function() {
|
||
|
$("em").addClass("selected");
|
||
|
$("#myid").addClass("highlight");
|
||
|
$.ajax({
|
||
|
type: "POST",
|
||
|
url: "http://localhost:81/",
|
||
|
data: '{"data":1}',
|
||
|
success: null,
|
||
|
dataType: "html"
|
||
|
});
|
||
|
|
||
|
|
||
|
SQLInsert
|
||
|
|
||
|
data: [{"TableName":"",RowDict:{"Key1":Value1, "Key2":Value2}}]
|
||
|
|
||
|
$(document).ready(function() {
|
||
|
$("em").addClass("selected");
|
||
|
$("#myid").addClass("highlight");
|
||
|
$.ajax({
|
||
|
type: "POST",
|
||
|
url: "http://localhost:81/",
|
||
|
data: '[{"TableName":"Test", "RowDict":{"Name":"Name1","Description":"DescTest", "Money":100, "Date":"01.01.2020"}}]',
|
||
|
success: null,
|
||
|
dataType: "html"
|
||
|
});
|
||
|
});
|