In my JSF application,one of the html element having the below ID.
FrmOffer:rptOffer:0:j_idt325:0:j_idt355:0:j_idt356:0:j_idt560:0:j_idt632
When I try to select the element using below Jquery lines,
Option 1: $('#FrmOffer:rptOffer:0:j_idt325:0:j_idt355:0:j_idt356:0:j_idt560:0:j_idt632');
This returns : Uncaught Error: Syntax error, unrecognised expression: unsupported pseudo: rptOffer
Option 2:
$('#FrmOffer\\:rptOffer\\:0\\:j_idt325\\:0\\:j_idt355\\:0\\:j_idt356\\:0\\:j_idt560:0\\:j_idt632');
This returns: []
Can anyone advice how to select the element ?