skip to Main Content

How to show some json objects – Jquery ajax

I'm trying to get JSON file with ajax and display it in an HTML div but only part of it, not everything. Here is the ajax $(function () { $.ajax({ 'url': 'http://apis.is/weather/observations/en?stations=3696&time=1h&anytime=0', 'type': 'GET', 'dataType': 'json', 'success': function(response) { }…

VIEW QUESTION

Delete file using Coldfusion via jQuery ajax

I am trying to delete image files, after populating data about the file in a modal. My jQuery looks like this: const deleteMedia = () => { const url = '../../includes/delete-media.cfc?method=deleteMedia'; $(document).on('click', '.confirm-delete', () => { const fileName = $('.modal-wrapper').find('.file-name').text();…

VIEW QUESTION
Back To Top
Search