0

Hallo everyone!

I've a question about jQuery load function .So I have the following page ..

I have to load this page : https://www.mann-hummel.com/online-catalog/EU/rum/vehicle

Is that code correct?

<html>
<title>Load function</title>
<head>
    <script src="http://www.filtreautomobile.ro/core/jquery-latest.js "></script>
    <script src="http://www.filtreautomobile.ro/core/function-demos-script.js"></script>

    <script type="text/javascript">

    var JQFUNCS =
    {
        runFunc:
        {

            "load":
            {
                run: function(id)
                {

                    $('#'+id).load('https://www.mann-hummel.com/online-catalog/EU/rum/vehicle .header');
                },

                reset: function(id)
                {
                    $('#'+id).empty().hide();
                }
            }
        }
    }

    </script>

</head>
<body>


<p><a href="#">Run load</a>


</body>
</html>
3
Contributors
5
Replies
7
Views
4 Years
Discussion Span
Last Post by MWEB
0

I told you in your previous topic the Same Origin Policy would prevent you from stealing content from someone else's website. Unless you have permission to use their catalogue and they've setup a JSON request for you it will not work.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.