> Here is the code that should show 2 divs with corners and foo and foo2
> in it.
>
> Where is my mistake ?
>
> <script type="text/javascript">
> $(document).ready(function(){
>         $('.rounded').corner();
>
>         $("#Idsubmit").livequery('click', function() {
>                 $("#IdDivResult").addClass('rounded').html('foo2');
>         });
>
> });
> </script>

You are only calling 'corner' once so it will only execute once.  If
you want it to execute after Idsubmit has been clicked then you need
to call it in that event handler.  Perhaps like this:

$("#Idsubmit").livequery('click', function() {
        $("#IdDivResult").html('foo2').corner();
});

Reply via email to