Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8742553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:31:26+00:00 2026-06-13T11:31:26+00:00

Howdy, Ive been looking around for some sort of jQuery plugin to do what

  • 0

Howdy,

Ive been looking around for some sort of jQuery plugin to do what I require but so far haven’t fond one that does quite what I need.

I have created a web app for a client using our CMS where they are able to enter details for upcoming webinars that they will be running.

Part of the data the user enters is the day (01 – 31) and month (JAN – DEC) which appears inside a little calendar element I’ve made with CSS. The month gets put inside <span class="m">MONTH</span> and the day gets put into <span class="d">DAY</span> as you can see in the example below.

These are then put onto a page in a grid-stack formation.

What I cannot seem to do is find a way to order these elements using that particular data.

Any help would be much appreciated!

<div class="webinar-item">
    <div class="cal">
        <span class="m">sep</span>
        <span class="d">14</span>
    </div>

    <div class="data">
        <a href="#" title="Webinar Title">
            <h2>Webinar Title</h2>

            <span class="clearfix st Specific-Times">
                <span class="s">
                    <em>Start:</em>10:00am
                </span>
                <span class="f">
                    <em>Finish:</em>12:30pm
                </span>
            </span>

            <span class="price">
                <em>Price:</em>FREE
            </span>

            <p class="overview-1">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam tincidunt sagittis nunc. Curabitur mollis hendrerit diam ac iaculis. Phasellus velit neque, aliquet eu viverra a, congue id sapien. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec magna justo, viverra nec bibendum semper, porttitor pellentesque purus. In ante metus, tincidunt eu suscipit sit amet, imperdiet id justo. Phasellus elementum egestas nibh, vitae sodales nunc aliquet non.
            </p>
        </a>
        <a href="#">go to meeting</a>
    </div>
</div>

P.S. There’s nothing stopping me from pulling this data in multiple times for the purpose of ordering.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:31:26+00:00Added an answer on June 13, 2026 at 11:31 am

    The ideal would be to add a data attribute to webinar-item that has a string date in a format that is regognized by Date.parse. jQUery can get or set this data using data() method. It can also be readily attained from a datepicker that you would likely implement for user.

    <div class="webinar-item" data-date="12/15/2012">/* add hours/mins*/
    

    Then a custom sorter can be generated using UTC times.

    function sortDate( a, b){
      return parseDate(a) > parseDate(b) ? true :false;    
    } 
    
    function parseDate( el){
        return Date.parse($(el).data('date'));
    }
    
     $('#content').html( $('.webinar-item').sort(sortDate));
    

    DEMO http://jsfiddle.net/TxFqu/2

    EDIT: Better yet, simply store UTC time in data-date attribute and get rid of Date.Parse completely in this part of code

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Howdy. I've been tasked with making a Facebook game, but I'm new to Facebook
Howdy fellas, this one is gonna be a doozy: So for awhile I've been
Howdy, I do know how to implement a simple bubble-sort for 1dimensional array. But
Actually ,I've been looking around at how to call a method from a block.
Howdy! I am looking for a way to list all of the image files
Howdy. It's me again, and It's jQuery again. I have somthing like that: http://misiur.com/small/
Howdy! I'm working on an old project from one of my programming courses and
Howdy all. I'm working on a project that will (ideally) require the rendering of
Howdy -- Long time reader, first time questioner. :) I could really use some
Howdy, I'm a little confused about how to work with this in jQuery (1.5.2).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.