Checked the before play there with & lt; A href="https://bbs.csdn.net/free? Music=${music} "onclick=" window. The open (enclosing href); Return false "& gt; , but found no response after click the play, there is a problem?
CodePudding user response:
You can directly call a controller and then to bring the id value of music to, the controller receives the music in the id, then the music object found out, on the model, the page jump, jump page is what you play music, and then in the page to obtain the model of the value of music, and then put the address of the music in player with respect to OK.CodePudding user response:
1. The problem with springboot + thymeleaf had nothing to do, it is purely a question of HTML and js2. This does not need to js, only need to give a label and a target attribute
CodePudding user response:
Rumlee
Bbs7
1. The problem with springboot + thymeleaf had nothing to do, it is purely a question of HTML and js
2. This does not need to js, only need to give a label and a target attribute