<script type="text/javascript">
function turnRed(id) {
alert("hi");
var myPara = document.getElementById(id);
alert(myPara);
myPara.style.color = "green";
}
</script>
<apex:commandLink action="{!gogoogle}" target="_blank" value="Go Google" id="check" style="color:red" onclick="turnRed('{!$Component.check}')"/>
Sunday, December 18, 2022
Changing hyperlink from one color to another color
Subscribe to:
Post Comments (Atom)
-
Beginner-Level Questions 1. What is MuleSoft, and what are its key features? Answer : MuleSoft is an integration platform that enables dev...
-
As a Salesforce Admin, Salesforce flows are one of the most effective ...
-
In this session/post we will learn about Integration Procedure Basics and learn about declarative server side processing in OmniStudi...
No comments:
Post a Comment