I'm developing a test page...
http://www.vorad开发者_如何学编程abo.com/iMcuLast/index_clean.html
and, while checking its functionality found that the elements are "blocked" and only accesible to users if they "right click" over them... this is a strange and unexpected side effect that I need to solve ASAP... I've remade the code a lot of times but nothing seems to work... please help, I've run out of ideas!
thanks in advance for anyone willing to help me solve this "puzzling mistery"
The problem is with line 43 in js_dragDropCookies.js
:
$(".recibeDrag").disableSelection();
If you take that one line out, it works. However, it's understandable why you want to disable the selection, so it might be better to work around it.
Right after the above line you can bind an event yourself to the contained input elements and call stopPropagation()
in order to prevent disableSelection()
to capture it:
$(".recibeDrag input").bind("mousedown",function(e){ e.stopPropagation(); });
This is very strange indeed. How about adding some sort of:
$("#geoCultura div div input").click(function() {
$(this).focus();
});
To force the I-beam to show up when it gets clicked on.
精彩评论