| Author |
Javascript, h:panelGroup
|
Bishal Ghimire
Greenhorn
Joined: Feb 01, 2011
Posts: 26
|
|
Hi all,
I am able to hide and display panelGroup based on onclick event of a checkbox. My panelGroup includes bunch of textboxes. So, how can I delete contents of textboxes inside the panelGroup while hiding and redisplaying.
|
 |
roby george
Ranch Hand
Joined: Sep 08, 2010
Posts: 31
|
|
hello,
when you hide the panel at that that time you want to delete the content of the text box.
To do this just use
document.getElementById("txtBxId").value="";
let me know if it fullfill your requirement.
Thanks
|
 |
Bishal Ghimire
Greenhorn
Joined: Feb 01, 2011
Posts: 26
|
|
|
Thank you for the suggestion. However, my question was is there any way I can clear all the textboxes inside that Panel at once.
|
 |
 |
|
|
subject: Javascript, h:panelGroup
|
|
|