jsf - Hiding a Panel Grid row with javascript -


since i'm not able define known count variable row id inside <h:panelgrid> table, there way hide <tr> via javascript?

i need document.getelementbyid("rowid") on onclick button attribute, there's 1 button each row. , each button has know row id.

ofcourse if want hide tr just

html:

<button onclick="hiderow(this)">

js:

function hiderow(element){ element.parentnode.parentnode.style.display='none';}


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -