SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: adding event

  1. #1
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    adding event

    How can I add an event in javascript ?
    I want add a event for elements when an object droped on it do something

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could you go into more detail such as what will be the receiving element and what will be dragged and dropped?


  3. #3
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a function like this
    function drag(object_id){
    //that make drag an element
    }

    I want when this dragble element droped on another element for example on a div page do something (event work)


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
  •