I assigned id="txt01" to the rating text-field as well, to show how it as an anywhere Element can be JS accessd by getElementById(" ")
If being inside a form as here, being form-Element and named, it can be accessed by document.form3.textarea.value
If rating changes depending on Users, You will have to manually revise them periodically.
Notice I entered the rating of the selected option as default value of the text-field, as well; to be displayed at starting.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum