Hi all,
I'm sure it's probably that I do not understand the tag properly, but I am trying to add a class to table cells
Now this doesn't work...
<rich:jQuery selector="#searchFieldContainer td" query="addClass('topAlignedCell')" />
This does work...
<script type="text/javascript">
$("#searchForm\\:searchFieldContainer td").addClass('topAlignedCell');
</script>
What is wrong with my syntax for rich:jQuery?
The generated code from teh tag seems to be...
<script type="text/javascript">
RichFaces.jQuery.query({"selector":"#searchForm\\:searchFieldContainer td","query":"addClass('topAlignedCell')"} );
</script>
TIA,
Dale