[Solved] jquery ajax dont works – succes and error [closed]


Although you don’t state what the exact problem is, you are using the wrong function: appendTo tries to append $('#block-message') to the Zpráva neodeslána element (which does not exist).

You need something like the append(), text() or html() functions instead.

For example:

$('#block-message').text('Zpráva odeslána').addClass('good').slideUp();

6

solved jquery ajax dont works – succes and error [closed]