I am trying to change to colour of a line when clicking on a button but not sure how? .style does not work so not sure what to use.
Any help would be greatly appreciated!
Thanks,
export function corporate_click ( event ) {
$w ( ‘#corporate’ ). style.color = ‘#fff’ ;
$w ( ‘#corporateLine’ ). style.color = ‘#fff’ ;
$w ( ‘#allNewsLine, #productLine, #communityLine’ ). style.color = ‘#87878C’ ;
$w ( ‘#allNews, product, #community’ ). style.color = ‘#87878c’
$w ( ‘#section37, #section39, #section40’ ). collapse ();
$w ( ‘#section38’ ). expand ();
}