I’m confused...

Css applied in javascript action does not update element on screen

Hi, Im trying to apply a simple style to a button when it is being clicked prior to calling geolocation service. The class is being applied to the button but the view does not update to reflect say a change in background-color. Is there a way I can make sure screen is refreshed prior to calling service? i.e. a refresh() command ?
1 person has
this question
This topic is no longer open for comments or replies.