SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Jquery .live

  1. #1
    SitePoint Guru
    Join Date
    Feb 2007
    Posts
    874
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jquery .live

    Dear All,
    I have a list of span assign with draggable and droppable. In the event the page is referesh to how tie back both dragable and droppable to the span. This is because I saw normally live require either click, change etc how to handle this scenario?

  2. #2
    SitePoint Addict
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    382
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Can you post your code. It's a little difficult to understand what you mean..

  3. #3
    SitePoint Guru
    Join Date
    Feb 2007
    Posts
    874
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dear Mick,
    Infact I have link here Untitled Document where you drop down and select a vehicle registration number. Then you will see a number of tyres view. Each of it build based on this snippet of the code and called via the ajax. Snippet of the code is below. The problem when is build via the ajax the drag and drop function does not work so this is where I need to reassign and no idea how to do it.


    echo "<span class='droppable'>";
    echo "<b>".$loPosition."</b>";
    echo "<img class='draggable' src='tyreImages/tyre2.png' >";
    echo "</span>";


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •