Программисты Html
-
Anonymous
Uncaught referenceerror: deleteattachment не определяется
Сообщение
Anonymous »
Я получаю ошибку при попытке вызвать эту функцию: < /p>
uncate referenceError: deleteatTachment не определено < /p>
< /blockquote>
Код: Выделить всё
function deleteAttachment() {
var node = $("#attachments").fancytree("getActiveNode");
var key = node.key;
var folderId = document.getElementById("folderId") ? document.getElementById("folderId").value : "";
var request = $.ajax({
url : "attachmentsAjax",
dataType : "json",
type : "post",
data : {
action : "deleteAttachment",
"key" : key,
"folderId" : folderId
}
});
< /code>
html: < /p>
Чего мне не хватает?
Подробнее здесь:
https://stackoverflow.com/questions/242 ... ot-defined
1757863145
Anonymous
Я получаю ошибку при попытке вызвать эту функцию: < /p>
uncate referenceError: deleteatTachment не определено < /p>
< /blockquote>
[code]function deleteAttachment() {
var node = $("#attachments").fancytree("getActiveNode");
var key = node.key;
var folderId = document.getElementById("folderId") ? document.getElementById("folderId").value : "";
var request = $.ajax({
url : "attachmentsAjax",
dataType : "json",
type : "post",
data : {
action : "deleteAttachment",
"key" : key,
"folderId" : folderId
}
});
< /code>
html: < /p>
[/code]
Чего мне не хватает?
Подробнее здесь: [url]https://stackoverflow.com/questions/24250768/uncaught-referenceerror-deleteattachment-is-not-defined[/url]