Created
June 30, 2010 10:26
-
-
Save MikePearce/458493 to your computer and use it in GitHub Desktop.
This file contains 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
users.prototype = { | |
init: function() { | |
// OK, we need to replace the table now | |
$.getJSON | |
( | |
'/settings/getclientuserlist/'+$('#changeDgrp :selected').text(), | |
function(dataNew) | |
{ | |
// Make this stuff available in the whole object. | |
this.data = dataNew; | |
} | |
) | |
}, | |
populateUsersTable: function() { | |
console.log(this.data); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment