Ajax, problems of transaction between two div
Good morning , I have a problem with this script that performs the dynamic transaction pages without making the visual effect of page load , typical od server side languages.
The Script is : /*
<!--<script type="text/javascript">
$("#panel_container_sx a").click(function (e) { e.preventDefault(); // $("#submenu_11 a").click(function() { var param = $(this).attr("id"); $.ajax({ type: "GET", url: param , success: function(response) { $("#panel_container_dx").html(response); } }); })
</script>
*/
and
<!--<script type="text/javascript">
$("#list_container").click(function (e) {
//
e.preventDefault();
// $("#submenu_11 a").click(function() {
var param = $(this).attr("id");
$.ajax({
type: "GET",
url: param ,
success: function(response) {
$("#panel_container_dx_ter_livello").html(response);
}
});
})
</script>-->
It works perfectly with Safari Firefox and IE but does not work with Chrome . As if it not loaded all jquery.
The error in Chrome Console is :
"
'//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead."
but I not think that is the problem .
The script calling jquery is :
"
<script type="text/javascript">
if(!window.jQuery && document.write('<script type="text/javascript" src="assets/js/jquery.min.js"></script>'))
</script>
"
You can help me?
Thanks very much
Micha