specific draggable is above a specific droppable

Posted by hopes on Stack Overflow See other posts from Stack Overflow or by hopes
Published on 2010-06-03T17:24:36Z Indexed on 2010/06/03 18:04 UTC
Read the original article Hit count: 268

Filed under:
|

Hi everyone, I am a begginer in JQuery and I want to make a simple matching quiz so I used this code to create the qustions div and answers div


  
       

 The Capital of KSA  
 The Capital of UK  
 The Capital of USA  
  
  
 Riyadh  
 London  
 Washington  



I want to know after submit button is clicked if all accepted draggables are now dragged to the suitable droppables I used this code to make the answers divs draggable and to make them accepted for their questions divs


$(function() {
        $("#a3").draggable();
        $("#q3").droppable({
        accept: '#a3',      });

    });

your help will be appreciated :)

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html