My jquery cdn is not working in linux Mint

0

Currently I have two cdn in my code that would be the following:

<script src="http://code.jquery.com/jquery-1.12.0.min.js"></script> 
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script> 

In windows they worked correctly, but as I changed to linux to continue developing the application, they did not want to work correctly, since my menu does not do any of the functions that I did in windows. Verify that javascript was enabled.

In fact I already put a test code that would be the following:

<script type="text/javascript">
$(document).ready(function(){ 

 alert("SI funciona");

});
</script>

But it does not send the alert, when the document is loaded.

    
asked by David 30.05.2017 в 03:50
source

1 answer

1

I already solved my error, the problem was because I had <script> and </script> within a function of .js

    
answered by 31.05.2017 / 21:12
source