$( "#content" ).load( "personal.php", function () {
$( "#but_area" ).html( "<button>кнопка</button>" );
} );
SELECT p.*, ps.price as special_price FROM product p
LEFT JOIN product_special ps ON p.id = ps.product_id
SELECT p.id,
IF (ps.price IS NOT NULL AND ps.date_start < NOW() AND ps.date_end > NOW() , ps.price, p.price) as price FROM product p
LEFT JOIN product_special ps ON p.id = ps.product_id
x = []
x[5] = {...}
x[10] = {...}
names = {
1: {...}, 2: {..}
}
initialMinimumValue = Math.round( (startTime[0] * 60) + (startTime[0] * 24 / 60) );
initialMaximumValue = Math.round( (endTime[0] * 60) + (endTime[0] * 24 / 60) );
initialMinimumValue = Math.round( (startTime[0] * 60) + (startTime[1] * 24 / 60) );
initialMaximumValue = Math.round( (endTime[0] * 60) + (endTime[1] * 24 / 60) );
function category_change()
{
var url = $(this).val();
window.location.href = url;
}
$('#category-select').on('change',category_change);
var select = document.getElementById('category-select');
select.onchange = function()
{
window.location.href=this.value;
}