Created
July 31, 2014 15:16
Revisions
-
There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ <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); }); </script>