Hi, My js is a little rusty and I hope you can point me in the right direction, I’l trying to add an id to a label. Could you help me figure this out? Details in note
Hi @BelievePursue,
Thanks for reaching out.
Do you mean to add ID using javascript? It can be done through jQuery and should be doable by just a single line of code, but assuming it has a proper class name for the selector. Else, it’s not gonna work.
Would you mind providing your login credentials in the secure note? That URL redirects me to log-in page and I couldn’t check if it’s possible or not.
Thanks!
Super, and yes adding via js or in this case jq, will update note. The parent has an ID, hope that’ll work
Hi @BelievePursue,
Try using this JS:
jQuery('#uwp_account_skillLevel_row >label').attr('id', 'popSkillLevel');
Since the parent has ID, you might not need to add the ID on label because we can always access it using it’s parent ID.
Hope this helps.
Perfect, thank you!
You’re always welcome!
Cheers.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.