> 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:
Thanks a lot, really.
More over, thanks to the well known jquery plugin creator, i've cited
"Mike
> Here is the code that should show 2 divs with corners and foo and foo2
> in it.
>
> Where is my mistake ?
>
>
> $(document).ready(function(){
> $('.rounded').corner();
>
> $("#Idsubmit").livequery('click', function() {
> $("#IdDivResult").addClass('rounded').html
Ok, i know now that i have to rebind but in wich way ?
Here is the code that should show 2 divs with corners and foo and foo2
in it.
Where is my mistake ?
thanks and regards,
f.
div.rounded { background: #6af;}
$(document).ready(function(){
$('.rounded').corner();
> jquery.corner doesn't work when html is written in ajax request on the
> fly and send back to the client.
> Should i use LiveQuery or something else to make it working ?
You can use LiveQuery, or your own rebinding code, to initialize the
corners on dynamic content.
http://docs.jquery.com/Freq
4 matches
Mail list logo