Looking for old forum posts and information? View the old forum archive here ยป
Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

A static copy of our previous forums website is available online for reference. Click here to access the forum archive.

Learn more about...

AspDotNetStorefront
DotFeed

Add Jquery inside xml package

Hi All,

I am unable to add jquery inside xml package, I have use following code :

<script type="javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js"></script>
    <script language="javascript">
        <![CDATA[
                 $( document ).ready(function() {
            alert("HI");
            });
                                        ]]>
    </script>

It is not working.

Please let me know how to fix the issue ?

Thanks in advance,

Bikash
asked Apr 29, 2014 in MultiStore by bikashm (760 points)

1 Answer

0 votes

Bikash, depending on your cart version, your cart might already be including/bringing in jquery so check your template file...it might just be conflicting the 2.

However, in the above, you are bringing it in via http so if it's a secure page, you will have security warning so bring in over https instead!

Thank you,
Jan
 
Compunix, LLC (Phoenix, AZ)
AspDotNetStorefront Development Partner and Reseller since 2005
------------------------------------------------------------------------------------------------------
 AspDotNetStorefront add-ons and plugins : http://www.ecommercecartmods.com
 Complete Automotive Solution : http://www.autopartsshoppingcart.com
------------------------------------------------------------------------------------------------------
answered Apr 29, 2014 by jsimacek (6,525 points)
...