dojo-dnd

Dojo Drag-Drop Issue: Sorting items in target DND container

左心房为你撑大大i 提交于 2019-12-11 08:20:28
问题 My JavaScript code is as below //I have a Json: var jsonRoles = {"roles": [ {"roleId": "1", "roleName": "role1", "roleDesc": "This is role1"}, {"roleId": "2", "roleName": "role2", "roleDesc": "This is role2"}, {"roleId": "3", "roleName": "role3", "roleDesc": "This is role3"} ] }; //To get the all role name listed in DND container i used the for loop: var results=""; for(var i=0;i<jsonRoles.roles.length;i++){ results += '<div class="dojoDndItem">' + jsonRoles.roles[i].roleName + '</div>'; } /

Can't select text in input box on IE

末鹿安然 提交于 2019-12-10 18:08:28
问题 I have an input box that is inside of a div, the div has a background image and the input box inside of it is positioned and limited in size / font to work nicely with the background image. In FF everything works as expected, in IE though there is a major issue. I can't select the text inside of the input box using the mouse or use short-cuts like shift-end/home, ctrl-left/right. You can move around using the mouse keys and use the delete/backspace keys to adjust the text. The HTML looks