How to append Id of a component based on particular condition using JQuery?
<p>i need to change the <strong>id</strong> of a component based on condition/flag, how can i achieve this using JQuery(any Script)? my component is like below.<br/> (below code written <code>XHTML</code>)</p>

<pre><code>&lt;p:txtLnkColumn id="c1" value="#{ROW.name}" editable="false"/&gt;
</code></pre>

<p>in the above <code>id="c1"</code> change to <code>id="c2"</code> based on a condition.<br/>
is there any way to do that? (using any script)</p>
