SyntaxFix
Write A Post
Hire A Developer
Questions
*Updated
jQuery version would be something like below:
jQuery
function load(recieving_id){ $('#roommate_but').prop('disabled', true); $.get('include.inc.php?i=' + recieving_id, function(data) { $("#roommate_but").html(data); }); }