-
-
Save cfjedimaster/0d614422b66075d90c21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href id="reload">clicky</a> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
function getUsers(){ | |
$.ajax({ | |
type: "GET", | |
url:"../components/user.cfc?method=GET", | |
dataType: "json", | |
data: { | |
objectid: 0 | |
}, | |
success: function (data) { | |
$("##userTableBody").html(""); | |
$.each(data,function(i,obj){ | |
var div_data= 'obj.blah'; | |
$(div_data).appendTo('#userTableBody'); | |
}); | |
} | |
}); | |
} | |
$('#reload').click(getUsers); | |
getUsers(); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
الو