I am making a private webpage game in which you identify the color by only RGB displayed to you and I want to add "Score" system but I can't because I am using:
function CR(){ window.location.reload(false) }
which refreshes the whole page can someone show me how to make a part of the webpage refreshing without effecting everything?
at first you should google it.
if you need get your data from backend, you should use ajax. Refresh/reload the content in Div using jquery/ajax ajax
if you don't need backend and you wanna change element value , so get your element by jQuery or JavaScript and set your value
$('#idTxt').val('new value');