Hello,

I presume that this question has been asked many times, but I don't
find any solution.
I've included these files :


<script src="/js/jquery-1.3.2.js" type="text/javascript"></script>
<script src="/js/jquery-ui/ui.core.js" type="text/javascript"></
script>
<script src="/js/jquery-ui/ui.resizable.js" type="text/javascript"></
script>
<script src="/js/jquery-ui/ui.draggable.js" type="text/javascript"></
script>
<script src="/js/jquery-ui/ui.dialog.js" type="text/javascript"></
script>
<script src="/js/actualites/buyarticle.js" type="text/javascript"></
script>

In my buyarticle.js, I've got the following lines :

$(document).ready( function() {

        $("input#buyarticle").click( function(e) {
                e.preventDefault();
                $("#dialog").dialog("open");
        }
}


When I click on the button, I've got :
"$("#dialog").dialog is not a function"

I don't know what files I've ommitted to include.
But when I call this function immediatly after the document.ready, it
works !

Thanks for your help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to