Non riesco a capire perché ti da quell'errore.
Codice: Seleziona tutto
Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'msg'
Codice: Seleziona tutto
Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'msg'
Codice: Seleziona tutto
// View raters
j('.jqueratings .val').click( function() {
var post_id = j(this).parent().attr( 'alt' );
var author_id = j(this).parent().attr( 'name' );
j.ajax({
type: "GET",
url: "jqueratings/list.php",
data: "post_id=" + post_id + "&author_id=" + author_id ,
success: function(response){
j.msg({
autoUnblock : false,
content: '<p>' + response + '</p>' + '<p id="close">Chiudi</p>',
afterBlock : function(){
var self = this;
j( '#close' ).bind( 'click', function(){
// self.method is not chainable
self.unblock();
});
}
});
}
});
});
Visitano il forum: Nessuno e 157 ospiti