Solution is found.

In my environment we had another framework, DWR, that uses some
javascript as well.
DWR does use the character $ for some of it's functions.
The solution was to use the folowing code when using JQuery:

jQuery.noConflict();
jQuery(document).ready(function($){
        $('#campaignDate').datepicker($.datepicker.regional['pt-BR']);
});

It was painful to discover this, specially since the first code runs
in FireFox and Chrome smoothly.


On Sep 22, 3:05 pm, Vitor Santos <vitor.bvsan...@gmail.com> wrote:
> I searched all IE7 FAQs and tips but I could not find the solution.
>
> Basically the Datepicker doesn't work at all in IE7. It does not
> appear and most disturbing, IE7 doesn't show any Javascript error.
> Works just fine in FF3.
>
> My code is:
>
> <script type="text/javascript">
> $(function() {
> $('#campaignDate').datepicker($.datepicker.regional['pt-BR']);});
>
> </script>
>
> <input type="text" name="form.campaignDate" size="7" value="__/__/
> ____" id="campaignDate" class="textoTextfield"/>
>
> I tried removing the last semicolon but nothing changed.

Reply via email to