Tuesday, 29 April 2014

Add Jquery and SP Services to debug from Console Tool

Use below source code to insert JQuery and SP Services from developer console:

var jq1 = document.createElement('script');
jq1.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq1);
 var jq2 = document.createElement('script');
jq2.src = "//cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/2014.01/jquery.SPServices.min.js";
document.getElementsByTagName('head')[0].appendChild(jq2);


Now, It will appear in page source:




Now, you can use SPServices easily from developer console.

Enjoy Debugging :)

1 comment:

  1. If you would like to grow your experience just keep visiting this web site and be updated with the most up-to-date news posted here.

    ReplyDelete