I think I did what could be my smallest blog post, as a tweet. A micro-blog, if you will.
Change floating label dynamically #orclAPEX— Scott Wesley 🌌 (@swesley_perth) September 20, 2019
$("label[for='P1_NOTE']").text('Happy Friday!'); pic.twitter.com/rwNd9scY04
Here is the snippet that dynamically updates a label, in this case, a floating label.
$("label[for='P1_NOTE']").text('Happy Friday!');
Which could also be written as
$("#P1_NOTE_LABEL").text('Happy Friday!');
This could be executed within a dynamic action, as a result of a change to some field on your page, perhaps to help instruct the user.
Happy APEXing!
No comments:
Post a Comment