<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)
-
For years, Business Intelligence (BI) and Enterprise Analytics solutions have been providing business users with ac...
-
1. Batch Apex Batch Apex is used to process large volumes of records asynchronously in Salesforce. It divides the records into batches, p...
No comments:
Post a Comment