$(document).ready(function(){ $("#S1").change(function() { var IDCat=this.value; $.ajax({ type: "GET", url: 'product_modify.php', data: {IDCat:IDCat}, success: function(data) { $("#p1").text(data); $("#tempForm").load('tv_form.php'); } }); }); });
This is my code, in load() , when I call the tv_form.html file, it works, but when I call 'tv_form.php' it doesn’t work, error 403 is forbidden, what is the problem? .Html works, but .php doesn’t work .
source share