Make dijit.form.TextBox a dnd Target

View: New views
1 Messages — Rating Filter:   Alert me  

Make dijit.form.TextBox a dnd Target

by StenmarC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

I am new to dojo so i need your help.
Can anyone tell me how to make dijit.form.TextBox a TARGET of dnd action? The source is text and it should fill the textbox when it is dropped over the textBox. So i need to "tell" the TextBox to accept the data from the source. With div tags it was very easy, but with dijit.form.TextBox it is very difficult for me because I am also new to JavaScript :(