PDA

View Full Version : Drag and Drop textbox



WARlrus
11-13-2006, 06:03 PM
1) Script Title: JS Drag and Drop

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/domdrag/index.htm

3) Describe problem:

Hey all!
I've been using the above code for some time, to allow users to drag various DIV's around the page.
My latest worry is on a page where I want a form to exist, where the users enter a message and click "Submit", and the form zaps itself off to a PHP script.

I've done all that fine, my problem lies when the user wants to give focus to (IE type in) the textbox, they simply cannot do it! Whenever they click down, the text box does not get selected, but they instead begin to drag

Has anyone got any ideas how I can get around this problem, besides getting rid of the float on it?