scoreCtrl during refresh
Posted: 21 November 2015, 22:23
Hello,
I cannot change the value of player_score during setup in Javascript.
I need to change it after refresh
I've tried 2 ways:
* document.getElementById('player_score_'+player_id).innerHTML= - $data; does not change anything
* this.scoreCtrl[ player_id ].setValue( - $data); scoreCtrl does not exist here.
I think scoreControl is created after so I cannot change it.
Is there any solution?
thanks.
I cannot change the value of player_score during setup in Javascript.
I need to change it after refresh
I've tried 2 ways:
* document.getElementById('player_score_'+player_id).innerHTML= - $data; does not change anything
* this.scoreCtrl[ player_id ].setValue( - $data); scoreCtrl does not exist here.
I think scoreControl is created after so I cannot change it.
Is there any solution?
thanks.