Basically, I’ve loaded in content to a container from another page using:
$('#profile').load('/_profile #rightSection');
So it’s pulling information dynamically which works great, basically the UI isn’t adding the theme to this new content and I’m sure it’s got something to do with the fact that they’re being pulled from another page (yet local).
This is how I’m calling my UI buttons:
$('button, input[type="submit"]').button();
$('input[type="text"], input[type=email]').button().addClass('my-textfield');
If anyone has any idea on this, it would be awesome to know how to resolve my problem.
Kind regards,
Shannon
Try using a callback on the
.loadand set the buttons then.