cancel
Showing results for 
Search instead for 
Did you mean: 

failed to load jquery js

06-17-2015 4:44 AM
742 views 3 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello Experts,

I creat a web app in nwds

in my html page:

<script src="jquery/js/jquery-2.1.4.min.js"></script>

  <script>

  var $j = jQuery.noConflict();

  $j(function () {

   $j('table.datatable').datatable(

   {

     checkable: true,

     sortable: true,

     minFixedLeftWidth: 300

     //......

   });

  });

  </script>

I deploy the war to EP

use url like http://ep.com:50000/webApp/aa.html  is working fine

but when I creat a url ivew in EP it is not working

Any ideas please?


0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

rohit_singhal
Active Contributor
0 Likes

Hi Lei,

Can you check from the network trace whether any other jQuery file is loaded when you run the application?

The issue usually occurs when we have multiple calls to jQuery.

Also you can try the following approach: upload the jQuery min version in KM and refer to this file from its KM path.

Let me know if this helps you.

Best Regards,

Rohit Singhal

Former Member
0 Likes

I use httpwatch track this

haven't multiple calls to jQuery

http://epe.ieds.com.cn:50000/UI5AppFell/zui1.html     load the jquery js

use url iview or iframe in wdj   not load the jquery js

Former Member
0 Likes

the erro in IE11

but in firefox it is working fine

Answers (0)