Home ›
Disabling Drag and Drop into WYSIWYG textarea (where do clients get these requests)Disabling Drag and Drop into WYSIWYG textarea (where do clients get these requests)
Submitted by Benjamin Melançon on April 14, 2009 - 6:04pm
Earl's long quest brought this:
<input name="expQuant0" type="text" size="2" value="1"
onKeyUp="calc_Exp(this.name,this.value,event);"
onFocus="clearbox(this.name,this.value);"
onBlur="setbox(this.name,this.value,'exp');" ondragstart="return
false;" >
"Key is to add ondragstart="return false;" that you dont want dragable, he said.
But this is about preventing people from dragging text or images away from your web site,
Closest to an answer might be in here, "ensure that only capital letters are inserted into a textarea"
http://www.faqts.com/knowledge_base/view.phtml/aid/5162/fid/130
Resolution
Searched words:
jquery disable drag drop text forms
javascript prevent drag and drop
Comments
Post new comment