table.php:
Kod
...
$(".edit, .add").click(function () {
act_tr = $(this).parent().parent();
$.ajax({
url: $(this).attr('href'),
success: function(data) {
$("#form").html(data);
tinymce_int();
$('#form').dialog('option', 'title', $('#form h3').html());
$('#form h3').remove();
$("#form").dialog('open');
}
});
return false;
});
...
$(".edit, .add").click(function () {
act_tr = $(this).parent().parent();
$.ajax({
url: $(this).attr('href'),
success: function(data) {
$("#form").html(data);
tinymce_int();
$('#form').dialog('option', 'title', $('#form h3').html());
$('#form h3').remove();
$("#form").dialog('open');
}
});
return false;
});
...
form.php:
Kod
...
function tinymce_int() {
$('textarea').tinymce({
................
................
});
}
...
function tinymce_int() {
$('textarea').tinymce({
................
................
});
}
...
W FF działa dobrze, ale w IE po naciśnięciu na dowolny element klasy .edit, lub .add nie dzieje się nic. W czym jest problem?
Może z tego kodu nic nie wynika? Podać inne jego fragmenty?