5 + 3=8, for example, selected 8 after replacing the input box
Label & lt; Span> 8
How to replace the Input box
CodePudding user response:
Reference:& lt; Script language="JavaScript" & gt;
The function callvalue () {
sendvalue=https://bbs.csdn.net/topics/document.test.count3.item (document. Test. Count3. SelectedIndex). The value;
Sendtext=document. Test. Count3. Item (document. Test. Count3. SelectedIndex). The text;
document.test.answer5.value=https://bbs.csdn.net/topics/sendvalue;
Document. The getElementById (" result5 "). The innerText=sendtext;
}
</script>