I have the following code:
The function should be in the global scope, if it's in an inner scope it's not accessible to the onclick=...:
or with jQuery:
Save changes
It would be a good idea to give the an id like this:
Save changes
Then...
$(function(){
$('#theAnchor').click(function(){
tinyMCE.triggerSave();
});
});