EasyUI Forum

General Category => General Discussion => Topic started by: Coder on March 03, 2018, 02:52:31 PM



Title: [SELFSOLVED] HIDE textbox ?
Post by: Coder on March 03, 2018, 02:52:31 PM
How corrct hide textbox?

Code:
$('#elm').textbox('textbox').hide();

leaves <span> with border ;(

(https://www.jeasyui.com/forum/index.php?action=dlattach;topic=7207.0;attach=1656;image)

and
Code:
$('#elm').textbox('textbox').parent().hide();

hide this <span>, but leave <label> of this textbox


Title: sometimes need to sleep....
Post by: Coder on March 03, 2018, 05:52:10 PM
Code:
<div id="elmContainer"><input id="elm" class="easyui-textbox" ....

Code:
$("#elmContainer").hide()