springboot怎么把数据传给前端:springboot 如何引入前端 bootstrap?
这种问题网上一搜一大堆,你可以具体找一篇文章试试,遇到问题可以针对相关问题去提问。springboot通过jar包方式引入bootstrap_个人文章 - SegmentFault 思否 这不是查查就
顺晟科技
2022-10-19 13:53:36
185
这是我的代码。当我单击+按钮时,我想再添加一种药物,如何完成此任务?
<html>
<body style="color:black; font-size:20px;">
<form>
<label style="margin-right:95px;"> Medicine </label>
<label style="margin-right:135px;"> Qty. </label>
<label> Timing-Freq-Duration </label> <br>
<input type="text" id="medicine" name="medicine" placeholder="Medicine Name">
<input type="text" id="quantity" name="quantity">
<input type="text" id="duration" name="duration">
<input type="submit" style="margin-left:30px;" value="+">
</form>
</body>
</html>
顺晟科技:
不确定除了你提到的以外你能/不能做什么,但我可能会做这样的事情。
您需要使用JavaScript。 这是一个使用jQuery库和Bootstrap的简单示例(主要是为了获得样式)。 https://getbootstrap.com/docs/5.1/get-start/integrate/ https://jquery.com/
查看下面的演示:
05
2022-12
02
2022-12
02
2022-12
29
2022-11
29
2022-11
24
2022-11