Just wondering if there is any way to check if the value of a select box drop-down matches the original value at the time of page load (when the value was set using `selected = "yes"`) ?
I guess I could use PHP to create the original values as JavaScript variables and check against them, but there are a few select boxes and I'm trying to keep the code as concise as possible!
以上就是Using JavaScript or jQuery, how do I check if select box matches original value?的详细内容,更多请关注web前端其它相关文章!