Home  >  Article  >  Backend Development  >  怎么将一个文本框的内容传到新页面中的文本框

怎么将一个文本框的内容传到新页面中的文本框

WBOY
WBOYOriginal
2016-06-13 11:43:481347browse

如何将一个文本框的内容传到新页面中的文本框



如这样 第一张图的内容点击提交后 内容自动显示在第二张图文本框内

之前写的是通过pathinfo的形式
onclick="javascript:window.location.href = 'aa.com/xxx/?title=' + document.getElementById('askfdk_da_mob').value

 value='

但是这种方法被其他功能占用了 

想问下用JS要怎么写呢?

是两个不同的页面 不是同一个页面

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn