Category : jquery-mobile

I have the following input : <div class="input-group date"> <input type="text" class="form-control" id="casting_date_naissance" name="casting_date_naissance"> <span class="input-group-text input-group-append input-group-addon" id="spanEstPaymentDate"> <i class="simple-icon-calendar"></i> </span> </div> And this script : var dateinput = document.getElementById("casting_date_naissance"); dateinput.addEventListener(‘change’, function(evt) { alert(‘a’); console.log(dateinput); }); Why when I execute this script the change event doesn’t fire, and when I remove the <span class="input-group-text ..

Read more

Looking for a way to make the Text within the slider box fade out as the slider is moved. Preferably CSS keyframes triggered by javascript but I’m not sure if its possible with current javascript <!DOCTYPE html> <html> <head> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css”> </head> <style> .fade-in{-webkit-animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1.000) both;animation:fade-in 1.2s cubic-bezier(.39,.575,.565,1.000) both} ..

Read more