Hey Paul,
Thanks for the response. My browser is IE 6. Here is the markup of
the divs that I am using (my original stuff was much more complicated
but I get the same problem with this very simple example):
<div id="staticQuestionUpdate">
<div id="source" class="dragDropSource" style="width:
100px; height: 100px; background-color: Gray;">
</div>
<div id="target" class="dragDropTarget" style="width:
100px; height: 100px; background-color: Red;">
</div>
</div>
Thanks for helping me take a look at this.
Scott
On Sep 6, 10:57 am, "Paul Bakaus" <[EMAIL PROTECTED]> wrote:
> That's weird - what kind of browser are you using, and could you post the
> test markup as well?
>
> Thanks,
> Paul
>
>
>
>
>
> On Fri, Sep 5, 2008 at 10:46 PM, scottyb <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I am trying to get drag/drop functionality working in my app and I am
> > getting the "Object doesn't support this property or method" error on
> > the following line of code:
>
> > $(".dragDropSource").draggable({helper: 'clone'});
>
> > Here is the full function along with the js files that I am including:
>
> > <script type="text/javascript" src="/js/ui.core.js"></script>
> > <script type="text/javascript" src="/js/ui.draggable.js"></script>
> > <script type="text/javascript" src="/js/ui.droppable.js"></script>
>
> > <script type="text/javascript">
>
> > $(document).ready(function(){
> > //Register Sources
> > $(".dragDropSource").draggable({helper: 'clone'});
> > //Register Targets
> > $(".dragDropTarget").droppable({
> > accept: ".dragDropSource",
> > activeClass: 'droppable-active',
> > hoverClass: 'droppable-hover',
> > drop: function(ev, ui) {
> > $(this).append("<br>Dropped!");
>
> > }
> > });
> > });
>
> > Does anyone have any idea what I'm missing? Thanks in advance.
>
> --
> Paul Bakaus
> UI Architect
> --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus- Hide quoted
> text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---