Javascript function not called
问题 I´ve got a javascript method that calls a php method to get some data in the array "availabletags". To prove if the function is even called, I added availableTags[0] = "Test"; When I put it on my server to try it, nothings happens. So I think the javascript function isn´t called. <link rel="stylesheet" href="js/demos.css"> <script type="text/javascript"> $(function() { var availableTags = new Array(400); availableTags[0] = "Test"; availableTags = JSON.parse(<?php echo '"'.addslashes(include("