I have standard page in Salesforce. I cannot modify this page. But what I can do is add javascript or jQuery to this page. I have to replace a inputtext field with a picklist value. I want to build this pikclist using jQuery, the picklist values will be dynamically populated, and replace a input text with this picklist.
I am not sure how to use the .replaceWith() function. please help me out!!
you can use
.replaceWith()with you input box like thisand after that you can append options to your picklist using
append