B B4JExplorer Active Member Licensed User Longtime User Oct 1, 2014 #1 Hi, I've tried all 3 btn_Save.SetProp( "display", "none" ) btn_Save.SetProp( "hide", "true" ) btn_Save.SetProp( "disabled", "true" ) . The last one disables the button properly. But none of them makes the button invisible.
Hi, I've tried all 3 btn_Save.SetProp( "display", "none" ) btn_Save.SetProp( "hide", "true" ) btn_Save.SetProp( "disabled", "true" ) . The last one disables the button properly. But none of them makes the button invisible.
E Eumel Active Member Licensed User Longtime User Oct 1, 2014 #2 If it is a WebSocket Project, you can try this. Code: Copy ws.Eval("$('#btnsave').closest('.ui-btn').hide()",Null) Upvote 0
If it is a WebSocket Project, you can try this. Code: Copy ws.Eval("$('#btnsave').closest('.ui-btn').hide()",Null)
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2014 #3 hide is a method: http://api.jquery.com/hide/ Code: Copy btn_Save.RunMethod("hide", Null) Upvote 0
B B4JExplorer Active Member Licensed User Longtime User Oct 2, 2014 #4 Eumel, thanks for the suggestion. I haven't tried it yet, but Erel's RunMethod example above, works fine. Thanks Erel and Eumel. Upvote 0
Eumel, thanks for the suggestion. I haven't tried it yet, but Erel's RunMethod example above, works fine. Thanks Erel and Eumel.