Problem fixed with: helper: "clone" in draggable element...

On Aug 26, 8:19 pm, Boris Trivic <trivu...@gmail.com> wrote:
> Well, maybe you don't understand whats the problem, so here is
> screenshot:
>
> http://caraudio-rs.info/snapshot1.png
>
> Do you think it's the bug or my mistake?
>
> On Aug 25, 1:08 pm, Boris Trivic <trivu...@gmail.com> wrote:
>
> > omg!
> > I just opened it in Opera (Linux) and there is some kind of bug or
> > what? Instead revert to original location, chars returns about
> > 100-150px right... Can someone take a look and check if same problem
> > occurs?
>
> > Maybe I shoult report it to jQuery dev team?
>
> > On Aug 25, 7:00 pm, Boris Trivic <trivu...@gmail.com> wrote:
>
> > > Yeah, sure, it imposible to convert object to string, object has
> > > methods and properties for that what I want.
> > > Wheathever, thanks a lot Brett one more time, you saved me.
>
> > > I finished a main part of project, there is still some little stufs to
> > > fix and correct. You can take a look on next link, if you want:
>
> > >http://caraudio-rs.info/nal_7/
>
> > > On Aug 25, 12:17 am, Brett Ritter <swift...@swiftone.org> wrote:
>
> > > > On Mon, Aug 24, 2009 at 11:24 AM, Boris Trivic<trivu...@gmail.com> 
> > > > wrote:
> > > > > I can success print ui.draggable to console, but how to convert it to
> > > > > string?
> > > > > I need to write it into some element with .innerHTML and I will
> > > > > probably use it in "for" loop...
>
> > > > I think you are trying the hard way.
>
> > > > ui.draggable is not a string, but a jQuery element.  Use that as you 
> > > > see fit.
>
> > > > For Hangman you're probably looking to copy either the text  (
> > > > ui.draggable.text() ) or the html itself ( ui.draggable.html() ).  If
> > > > you need to clone the source you want ui.draggable.clone() (note that
> > > > any events bound to the original are not bound to the clone unless you
> > > > use live() )
>
> > > > Trying to convert a jQuery element to a string doesn't make sense
> > > > unless you say what "string" you want - the text, the html, the id,
> > > > these are all different strings.
>
> > > > --
> > > > Brett Ritter / SwiftOne
> > > > swift...@swiftone.org

Reply via email to