skip to Main Content

JQUERY is not working on (onchange) function – Jquery ajax

I am Creating a dependency drop downs but, When I pass Id from one function to another its not Working here is some sample of code <?php include("includes/db.php"); ?> <!DOCTYPE html> <html> <head> <title></title> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> </head> <body>…

VIEW QUESTION

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