skip to Main Content

Use PHP file in Javascript – Jquery ajax

I have a PHP file contain some calculation. Now, I want to integrate the calculation into javascript in another file. How i can pass the variable in javascript to do calculation inside php? this is my javascript code: $("#upload").on("click", function(){…

VIEW QUESTION

appendTo based on title and type – Jquery ajax

I need to sort the songs based on the series title and type of the song. I'm using jQuery UI Menu: <ul id="menu"></ul> for(y = 0; y<tytuly.length; y++){ $('<li><div>'+tytuly[y]+'</div><ul><li><div>Openingi</div><ul id="ops'+y+'"></ul></li><li><div>Endingi</div><ul id="eds'+y+'"></ul></li><li><div>Inserty</div><ul id="ins'+y+'"></ul></li></ul></li>').appendTo('#menu'); } I load content using Ajax (Example Data):…

VIEW QUESTION
Back To Top
Search