list boxes(A,B) with some duplicate values
        Posted  
        
            by Dev
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Dev
        
        
        
        Published on 2010-05-07T07:15:54Z
        Indexed on 
            2010/05/07
            7:18 UTC
        
        
        Read the original article
        Hit count: 162
        
JavaScript
I have two list boxes(A,B) with some duplicate values and i can send values from A to B or B to A using send button and i have one save button.
For the first time without sending any list box if i click on save button i am showing message like "NO changes or Done"
But once i send one item from A to B and again sending that same item from B to A it means no changes or Done. here also i want to show same message "NO changes or Done" .but i am unable to find the staus can any one pleasse give code or tips to find the default status for listboxs in javascript.
Thanks
© Stack Overflow or respective owner