daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Apr 21st, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <body>
  2.      <div id="outer-div" class="interested-style">
  3.      <div id="loaded-control-1">
  4.           <div class="interested-style"></div>
  5.      </div>
  6.      <div id="loaded-control-2">
  7.           <div class="interested-style"></div>
  8.      </div>
  9.      <div id="loaded-control-3">
  10.           <div class="interested-style"></div>
  11.      </div>
  12. </body>
  13.    
  14. $('.interested-style')
  15.    
  16. var dynamic-script = loadSection('some-section-name');
  17. var modified-jQuery = getModifiedjQuery('loaded-control-2');
  18.  
  19. (function()
  20. {
  21.     eval(dynamic-script);
  22. })(modified-jQuery);
  23.    
  24. $('.loaded-control-X .interested-style')
  25.    
  26. $('.loaded-control-X > .interested-style')
  27.    
  28. $('.loaded-control-2 .intereted-style').someFunction()
  29.    
  30. // normal select
  31. $('#some-object');
  32.  
  33. // You can limit scope of jQuery selector like this
  34. $('#some-object', '#scope-object');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top