function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vamsi krishna 106vamsi krishna 106 

How to assign dynamic value as id in jquery?

var lastvalue=1;
var pricecheckid='#pricecheckselected#*'+lastvalue;
<apex:checkbox value="true" id="pricecheckselected#*1" />

<apex:checkbox value="true" id="reordeselected#*1" />


reordeselected#*1(this is also dynamic value)
 pricecheckselected#*1(this is dynamic value).now when i click on another check reordeselected#*1 i need disable  pricecheckselected#*1 this check box..please help me
now i want pricecheckid variable and some checkbox have same id like pricecheckid i want use this variable and need to disable that check box and need to uncheck that checkbox by using jquery..please help me..or give me some suggestions on it..
thanks in advance..

vamsi krishna 106vamsi krishna 106
and i have tried like this
pricecheckid='pricecheckselected#*'+laastvalue(it's dynamic value);

but i am not able do it..please check it and let me know if any error or syntax error is there..please give me some's urgent..
thanks in advance..