Guest User

Untitled

a guest
Jul 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. var table = $("table[for='availableTimeRanges']");
  2.  
  3. $.each($("table"), function(i,n){
  4. alert($(n).attr("for")
  5.  
  6. });
  7.  
  8. $(function () {
  9.  
  10. $('table[forparam=availableTimeRanges]').each(function () {
  11. alert($(this).attr('forparam'));
  12. });
  13.  
  14. });
  15.  
  16. <table class="for_availableTimeRanges"></table>
  17.  
  18. $('.for_availableTimeRanges')
  19.  
  20. $(function(){
  21. $.each($("table"), function(i,n){
  22. alert($(n).attr("for")
  23. });
  24. });
Add Comment
Please, Sign In to add comment