Activity Forums Salesforce® Discussions Autogenerated Salesforce Id consist of colon, how to handle it in JQuery ?

  • shariq

    Member
    September 22, 2018 at 5:03 pm

    var ele = $('[id="abc:xyz"]');

  • Parul

    Member
    September 22, 2018 at 5:46 pm

     

    Use double slash “\” in front of colon which will work as escape sequence

    var ele = $("#abc\:xyz");

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos