How do I call PHP code from another file with jQuery ajax?
This is my index.php: <!DOCTYPE html> <html lang="en" > <head> <title>Cassette Decks</title> <link rel="stylesheet" href="css/styles.css"> <meta charset="UTF-8"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="js/scripts.js" ></script> <script> </script> </head> <body> <form role="form" id="attributes" name='attributes' class="cassette_deck_table" > <table id="cassette_deck_params" > <tr> <td colspan='8' > <label…