Could not load OrphoManager class!
аjax запит примір
$('.btnModal').click(function () {
var value = $(this).attr('pagetitle');
var ids = $(this).attr('ids');
$( "#small-modal2" ).find( '.akciya-block-title' ).text( value );
$( "#small-modal2" ).find('.hidenfields').val(value);
$( "#small-modal2" ).find('.modal-content').attr('id', ids);
});
$('.product-addcart').click(function () {
var idt = $(this).attr('idt');
var value = $(this).attr('pagetitle');
$( "#modal-add" ).parent().css('display','block' );
$( "#modal-add" ).parent().addClass('in');
$( "#modal-add" ).find( '.akciya-block-title' ).text( value );
$.ajax({
type: "GET",
url: "http://argo-geser.ru/getmodal",
data: "parent="+idt,
success: function(msg){
$( "#modal-ajax" ).html( msg );
}
});
});
$('.modal-close').click(function(){
window.location = window.location.href;
});
Комментарии ()