Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

156
Views
How to get dates from js Datapicker pickmeup?

Listener doesnt work and I dont see this Listener in debug panel.

element=pickmeup('.range');
    pickmeup(element);
    element.addEventListener('pickmeup-change', function (e) {
        // Do stuff here
    })

I try without Listener in the code, i cant get dates from "change" Dates range. http://nazar-pc.github.io/PickMeUp/

 addEventListener('DOMContentLoaded', function () {

  

        pickmeup('input', {
                position       : 'right',
                hide_on_select : true
            });
    pickmeup('.range', {
        flat : true,
        mode : 'range',
        date: new Date,
        class_name: 'range', // Class to be added to root datepicker element
        render: function(date) {
            console.log("тест2");
    
                return {
                    disabled   : false,
                    class_name : 'disabled'
                }
    
        },
        change: function (date) {
            console.log("тест");
            $('#post').val(addDays(date,2));
            
        return true;},
    
    
    });
    
    });
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!