Hi,
I have the following javascript source var for my grid in my index.php. I have index.php and DAL folder under the source files in netbeans. When I have url : ‘/DAL/data.php’ is not working for me. what is the right way of assigning my data.php to url if it is located in different folder.
var source =
{
datatype: “json”,
datafields: [
{ name: ‘ProductName’ },
{ name: ‘QuantityPerUnit’ },
{ name: ‘UnitPrice’, type: ‘float’ },
{ name: ‘UnitsInStock’, type: ‘float’ },
{ name: ‘Discontinued’, type: ‘bool’ }
],
root: “Products”,
record: “Product”,
id: ‘ProductID’,
url: ‘/DAL/data.php’
};
Thank you.
Ramesh