In general you need to re-apply plugin functionality to dynamically added elements in a callback function after they have been loaded.
- $('#mydiv').load('newContent.php', function() {
- $('input.spinbox', this).spinbox(); // Once loaded, apply the plugin
- });