jquery - 没有工具栏的 OnesenUI 中的链接页面
问题描述
我是 OnesenUI 的新手。我已经能够使用标签来使用工具栏链接页面。但是,我想知道如何将页面中的文本链接到另一个屏幕。
例如,如果我有文本“注册”,那么用户应该能够进入 register.html 屏幕。
我不想为此设置工具栏按钮。
任何帮助将不胜感激。
谢谢!
login.html 代码:
<form>
<div class="form-group">
<label for="email">Email</label>
<input id="emaillogin" type="text" placeholder="email" class="form-control">
</div>
<div class="form-group">
<label for="password">Password</label>
<input id="passwordlogin" type="password" placeholder="password" class="form-control">
</div>
<div class="text-center">
<button type="submit" onclick="javascript:Login();" class="btn btn-template-outlined"><i class="fa fa-sign-in"></i> Log in</button>
</div>
</form>
<div class="center" style="text-align: center">
<p><br>If you are not enrolled, you can sign-up now.</p>
</div>
<div class="text-center">
<button type="button" href="register.html" class="btn btn-template-outlined"><i class="fa fa-sign-in"></i> Sign Up</button>
</div>
解决方案
推荐阅读
- typescript - 如何避免 VsCode Prettier 用箭头函数破坏链函数?
- discord - 尝试获取我的机器人所在行会的邀请时出错
- python - 如何确定感叹号是否在字符串的末尾?
- python - 我想将 torch nn.Conv2D 更改为 tensorflow 2.0 Conv2D
- certificate - Monaca 证书问题
- configuration - 在 CLion 中,什么是正确的运行配置?我无法理解我应该为“可执行文件”添加什么
- javascript - 如何在javascript react native库中访问python库
- c++ - C++/C在不同用户权限下在程序内执行代码(程序最初是用sudo调用的)
- python - 函数为某些数组返回错误值
- docker - 如何处理高山 docker 镜像中的缺失?