How to know variable of the passing object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • koyanpaing
    New Member
    • Mar 2010
    • 26

    #1

    How to know variable of the passing object

    Hi everyone,
    I would like to know how can i know the value from the passing object.Here is the code example.
    Code:
    <script>
     $trash.droppable({
    					accept: '#gallery > li',
    					activeClass: 'ui-state-highlight',
    					drop: function(ev, ui) {
    						alert("B "+ev);
    						
    						deleteImage(ui.draggable);
    					}
    				});
    </script>
    Form the above code what i want to know is the object ev's properties and values etc.I don't know all the properties of ev so i want to know about it.Example ev.name ,ev.value.Can i know about it? Is it possible?

    Thanks and Regards,
    Yan
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    it must be defined somewhere (as it is a parameter). a good point to start is the documentation of your framework.

    Comment

    Working...