Monday 29 June 2015

JQuery Id selector in ADF

Some times we have a requirement like have to write some css changes based on id selector.

The ADF components will rendered with some mixed special characters. For this case if you want to find the id, We need do add '\\' before to the special character.

Example:

ADF Actual Rendered ID:pt1:r1:0:pgl13

JQuery ID selector:

 $("#pt1:r1:0:pgl13");----------It doesn't work

$("#pt1\\:r1\\:0\\:pgl13")-------It works.

6 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi,
    I have a question about adf skinng, so i want to ask to you. could you give me your mail adress?
    Thanks.

    ReplyDelete
  3. HI Ali,

    No problem tel me your question. I will help you...

    ReplyDelete
  4. mnay thnks dandu... you are very smart

    ReplyDelete
  5. Hi, if I want to skin a specific component selector that it's already rendered in html, how do I know the name of that selector. Thank you.

    ReplyDelete