I am trying to get value of a input hidden field with an id like this
leadConversionPage:leadConversionForm:pBConvertLead:pbSectionLeadSection:pbsiAccountName:accountLookup_lkid
I tried using
$("#leadConversionPage:leadConversionForm:pBConvertLead:pbSectionLeadSection:pbsiAccountName:accountLookup_lkid").val();
but thats throwing an error
Error: Syntax error, unrecognized expression: unsupported pseudo: leadConversionForm
I dont have control of how the id is been created. This is the way id is generated by salesforce