I’m trying to load in a custom field via ajax but it isn’t working, it just loads the text of the tag like: {field:asset_files}, when it loads it also needs to know what post it applies to.
Here’s what I’m doing:
I have a standalone template called ‘old-uploader’ in the ‘assets’ template group, this just has {field:asset_files} in only, I then have a jquery command doing:
$('#alt-upload').click(function(){
$('#uploader').load('/assets/old-uploader');
return false;
});But this isn’t working, I expect it may not even be possible but thought someone out there may have don eit before.
Thanks for any help I can get!
James