Textbox event calling function on Drag & Drop

G

Guest

I have built a form with a textbox where I can drag and drop text. I want to
be able to call a function after I drop the text on the box. My problem is
the onChange event must fire before the text is in the box because my code
fails because there is no text to work with. Is there another event that
would work better or a way to delay the execution of the function until the
textbox contains the text.
 
M

Marshall Barton

bkaufman said:
I have built a form with a textbox where I can drag and drop text. I want to
be able to call a function after I drop the text on the box. My problem is
the onChange event must fire before the text is in the box because my code
fails because there is no text to work with. Is there another event that
would work better or a way to delay the execution of the function until the
textbox contains the text.

Then Change event is inappropriate for most things. Why
don't you just call the function at the end of your drop
procedure?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top