Skip to content
Permalink
Browse files

example: removed problem with ?? and jQuery

  • Loading branch information...
dg committed Mar 13, 2019
1 parent c25148e commit 199a14e06e686f7234e66b4622ecad2e043c611e
Showing with 2 additions and 1 deletion.
  1. +2 −1 examples/ajax.php
@@ -42,7 +42,7 @@
</p>


<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script>
// default settings:
@@ -61,6 +61,7 @@
jqxhr = $.ajax({
data: {error: $(this).hasClass('error') * 1},
dataType: 'json',
jsonp: false,
// headers: {'X-Tracy-Ajax': Tracy.getAjaxHeader()}, // use when auto-refresh is disabled via window.TracyAutoRefresh = false;
}).done(function(data) {
$('#result').text('loaded: ' + data);

0 comments on commit 199a14e

Please sign in to comment.
You can’t perform that action at this time.