IE8 the 2 buttons in the next Div only show one, code such as the following:
<div id= "AdviceType" style= "Display:none;" > <select name= "Advicetypeone" id= "Advicetypeone" class= " Shortselect "> <option value="-1 ">--Please select--</option><c:foreach var=" Bean "items=" ${listone} " ><option value= "${bean.id}" >${bean.des}</option></c:foreach></select><select name= "Advicetypetwo" id= "Advicetypetwo" class= "Shortselect" ><option value= "-1" >--Please select--</option></ Select><input type= "hidden" id= "Advicemsglogid" ><input id= "Saveadvicetype" class= "retransmission" type= "Button" value= "Save"/><input id= "Hideadvicetype" class= "retransmission" type= "button" value= "Hide"/> < /div>
, only the Save button is displayed and the Hide button is not displayed. The DOM shows no problem, but it is not displayed.
There is no way, intended to "hide" the use of the button, directly with the label, the result button can be displayed,
Finally the code is for example the following:
<div id= "AdviceType" style= "display:none; "> <select name=" Advicetypeone "id=" Advicetypeone "class=" Shortselect "> <option value="-1 "> --Please select--</option><c:foreach var= "Bean" items= "${listone}" ><option value= "${bean.id}" >${bean.des} </option></c:foreach></select><select name= "Advicetypetwo" id= "AdviceTypeTwo" class= " Shortselect "><option value="-1 ">--Please select--</option></select><input type=" hidden "id=" Advicemsglogid "><input id=" Saveadvicetype "class=" retransmission "type=" button "value=" Save "/><input id=" Hideadvicetype "class=" retransmission "type=" button value= "Hide"/><label> </label> </div>
Adds a line of code. Detailed reasons to be studied.
Show the code for the DIV:
$ (". Left"). Live ("Click", Function () {var $this = $ (this); var width = $this. width (); $ ("#adviceType"). CSS ("Top", event.clienty+ $this. scrolltop ()). CSS ("left", event.clientx+ $this. ScrollLeft ()). CSS ("position", "absolute"). Show ( ). Height (+) width (600);//change display position with mouse click})
IE under the Ajax does not work, other browsers can, debugging after the discovery of a comma, ie check is very strict.
IE8 the 2 buttons in the div below show only one