<textarea id='txedit'></textarea>
<button id='btnload'>LOAD</button>
$('#btnload').on('click', function(){
$('#txedit').load('test.php');
});
Before typing anything inside txedit the above code works i.e. test.php is loaded inside txedit.
After typing even a letter inside txedit - clicking on btnload doesn't load test.php.