LoginSignup
1
1

More than 5 years have passed since last update.

複数オブジェクトの逆順並べ

Posted at
jquery_indices_object_reverse.js
$(function(){
  // same class name jQuery object
  $('div.some_class');
  // these reverse indices jQuery object
  // Once get indexed objects to array, 
  // Then use Array.reverse() to descending order.
  // At last, convert array object to jQuery object.
  $($('div.some_class').get().reverse());
});
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1