Last active
January 15, 2018 16:00
-
-
Save shadz3rg/17717f91be21acccec4d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Нужно написать Jquery-плагин: | |
// По клику на кнопку сделать запрос по переданному аргументом url, получить json данные (см. ниже) | |
// И отобразить их в виде таблицы внутри Bootstrap modal-окна, при этом изменив формат даты на "d.m.Y" | |
{ | |
"items": [ | |
{ | |
"id" : 1, | |
"date" : "2016-02-18", | |
"title" : "Item 1" | |
}, | |
{ | |
"id" : 2, | |
"date" : "2016-02-16", | |
"title" : "Item 2" | |
}, | |
{ | |
"id" : 3, | |
"date" : "2016-01-10", | |
"title" : "Item 3" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment