JQuery программист
Пример простого задания на 5$ - смешения иконки при наведении.
Пример сложного задания: 15$
сделать отправку POST данных через AJAX и полученный ответ отобразить в ui диалоге:
---
Создание окошка:
ui.core.js
ui.dialog.js
jQuery("#messageDialog").dialog({
bgiframe: true,
modal: true,
autoOpen: false,
buttons: {
Ok: function() {
jQuery(this).dialog('close');
}
}
});
Отправка AJAX jquery.form.js
var options = {
url: 'index.php?option=com_test&task=ajax',
dataType: 'html',
success: showResponse,
error: showResponse // post-submit callback
};
jQuery('#form').ajaxSubmit(options);
Функция открывает окно и выводит полученный текст:
function showResponse(responseText, statusText) {
jQuery('#messageDialog').dialog('open');
jQuery('#error_msg').html(responseText);
}
--