Category: jQuery

O que ando aprendendo nesta caminhada sobre a Terra

Using jQueryMask Plugin to format dates in different patterns

jQuery Mask Plugin is a great Javascript library to format fields for presentation and/or to force a properly input by users. Here, I show how to deal with input or another HTML element to display dates when the source date has a different format from target element. Example: We have a datetime with Year-Month-Day Hour:Minute:Seconds…
Read more

jQuery.html() não funciona em Internet Explorer

Recentemente tive problemas com um código javascript que utiliza jQuery e que funcionava em diversos navegadores como o Chrome, o Firefox e algumas versões do Internet Explorer, mas que teimava em não funcionar em Internet Explorer 7 e 8. Segue o código: $.post(url,{ options }, function (response) { $(‘#myElement’).html(response); }, ‘text’); Após alguns testes percebi…
Read more