Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var editURL = "/Words/Edit";
- var checkedRows = new Array(); //tablica jest poprawnie zapełniona danymi. Dane (jako JSON) wyglądają tak: "["1","12"]"
- [...]
- $.post(editURL, $.param({ "objects": checkedRows, "newCollectionID": $("#changeCollectionDropdown").val() }, true), function () {
- location.reload();
- }).fail(function (html) {
- $("body").html(html.responseText);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement