FancyPrairie
Programmer
I have 2 list boxes on my page. I want to drag items from one list box to the other. However, I can't seem to get any of the drag events to fire. I don't know why.
My Select element looks like this:
What's weird is that if I add a onmousedown event for the select box and add the following code, the drag events start firing after I exit the message box.
How do I get these events to fire on a list box?
My Select element looks like this:
Code:
<SELECT id=List0
ondragstart="window.event.srcElement.ID"
ondrag="window.event.srcElement.ID"
ondragend="window.event.srcElement.ID"
<OPTION value=Test1>Test1</OPTION><OPTION
value=Test2>Test2</OPTION><OPTION value=Test3>Test3</OPTION><OPTION
value=Test4>test4</OPTION><OPTION value=Test5>Test5</OPTION></SELECT>
What's weird is that if I add a onmousedown event for the select box and add the following code, the drag events start firing after I exit the message box.
Code:
msgbox list0.dragdrop
How do I get these events to fire on a list box?