onselectstart="return false" ondragstart="return

Discussion in 'Javascript' started by yingjian.ma1955@gmail.com, Oct 6, 2005.

  1. Guest

    When I want to disable the select functionality, Can I just use
    onselectstart="return false"? I tried it and it works. But it seems
    people always put onselectstart="return false" ondragstart="return
    false" together. What is the use of the latter part?
    , Oct 6, 2005
    #1
    1. Advertising

  2. Randy Webb Guest

    said the following on 10/6/2005 2:11 PM:
    > When I want to disable the select functionality, Can I just use
    > onselectstart="return false"? I tried it and it works. But it seems
    > people always put onselectstart="return false" ondragstart="return
    > false" together. What is the use of the latter part?
    >


    Because to drag and drop I do not have to select.

    Makes me glad I have crap such as that disabled in my browser though.

    --
    Randy
    comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
    Randy Webb, Oct 6, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. w i l l
    Replies:
    4
    Views:
    234
    Dan Brussee
    Jul 4, 2003
  2. Mich
    Replies:
    1
    Views:
    86
  3. Mariusz

    ondragstart and onmousemove messages

    Mariusz, Dec 14, 2004, in forum: Javascript
    Replies:
    2
    Views:
    136
    Mariusz
    Dec 15, 2004
  4. Replies:
    10
    Views:
    305
    Thomas 'PointedEars' Lahn
    Feb 16, 2006
  5. Olimpia

    onselectstart in firefox

    Olimpia, May 8, 2006, in forum: Javascript
    Replies:
    1
    Views:
    203
    Martin Honnen
    May 9, 2006
Loading...

Share This Page