Hi. I have recently paid for an API script for dynamically updating categories within a store or listing. The point being that I can completely style and place them anywhere if I call categories this way and do not use the standard ebay gui.
The problem is that the script does not work in ebay and in fact just states error even though the script works within dreamweaver "live view" and also if loaded directly from a HTML file. It does not work when the script is inserted into ebay. The following javascript calls to an external php file to attain the categories.
<div id="boxcontent"> </div>
<script language="javascript">
$(document).load("http://thebaydesign.co.uk/ebay/nextofskin/cats.php", function(response, status, xhr) {
if (status == "success") {
$("#boxcontent").html(response);
}else{
$("#boxcontent").html("error");
}
});
</script>
In the location of the php file is also an ebay certificate and an XML file.
Any Ideas why the script would fail in ebay but not on regular hosted HTML file (even if the html file is in a different folder to the xml, php and certificate files.
Thanks in advance.
Karl