jquery ui checkbox and php problem

hww

New Member
So i have a list of checkboxes that gets added dynamically - i am trying to style them using the jquery ui checkbox. problem is i can get styled just one. Is there any ways i could make any workaround to get dynamic id's on input tags and labels for each input tag via jquery ?here is the syntax i am trying:\[code\]<div id="format"> <input id="check_<?php echo $category['category_id']; ?>" type="checkbox" name="selected[]" value="http://stackoverflow.com/questions/3800468/<?php echo $category['category_id']; ?>" /><label for="check_<?php echo $category['category_id']; ?>">d</label></div>\[/code\]jquery code:\[code\] $(function() { $( "#check" ).button(); $( "#format" ).buttonset();});\[/code\]Thanks!
 
Back
Top