Skip to content
小飞侠
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
菜单

博客

  1. 首页>
  2. 其他>
  3. 给button加超链接

给button加超链接

  • Post author:xfxia
  • Post published:2023年9月7日
  • Post category:其他




1.如果让本页转向新的页面则用:



<input type=button οnclick=”window.location.href(‘连接’)”>



2.如果需要打开一个新的页面进行转向,则用:



<input type=button οnclick=”window.open(‘连接’)”>



3.如果需要返回到上次打开的页面,则用:


<input type=button οnclick=”window.history.back()”>


你可能也喜欢

爬虫——天气并数据可视化

Camera2架构学习(一)——Camera应用层连接到CameraService层

DMA是一个超级简化版的cpu吗?

Real-Time Rendering Fourth Edition 学习笔记之 — 第六章:纹理

c语言指针怎么指向函数,C语言指针—指向函数的指针

VMware 安装Ubuntu18

OpenCV3.1.0添加opencv_contrib库(已编译好的库)

IEEE754数据格式介绍和解析方式(超权威)

AndroidStudio-3.2.1(十一)触摸事件

xpath常用笔记

table合并列合并行

带你重新认识回流和重绘

手机APP测试如何进行兼容性测试?

Kotlin 扩展、抽象类、接口、内部类、嵌套类

Delphi ActionList详解

IDEA中xml文件头报错:URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)

swiper实现点击切换slide/图片效果

window下安装memcached

JDK的bin目录下那些常见工具使用集锦

R语言画Venn图

目录

  • APICloud (3)
  • golang (228)
  • java (8,236)
  • linux (4,002)
  • mysql (2,800)
  • php (1,070)
  • python (5,439)
  • solidity (25)
  • uniapp (235)
  • vue (2,463)
  • 其他 (88,233)
  • 小程序 (801)

文章归档

  • 2023年十二月 (1872)
  • 2023年十一月 (477)
  • 2023年十月 (17371)
  • 2023年九月 (44974)
  • 2023年八月 (26399)
  • 2023年七月 (14793)
  • 2023年六月 (1)
  • 2023年五月 (2186)
  • 2023年四月 (3838)
  • 2023年三月 (1544)
  • 2023年二月 (3)
  • 2023年一月 (4)
  • 2022年十二月 (3)
  • 2022年十一月 (36)
  • 2022年十月 (16)
  • 2022年九月 (8)
  • 2021年九月 (1)
  • 2020年九月 (6)
  • 2020年八月 (5)

标签

Aave (1) cosmos (6) defi (255) flag (27) gitee (1) github (1) golang (234) java (8234) linux命令 (82) List (1) map (1115) mysql (3093) npm (237) tendermint (6) uuid (43) vant (64) vmware (270) 区块链 (63) 合约 (37) 小程序版本更新 (3)
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
Copyright xfxia.com 鲁ICP备19024253号-2
关闭菜单