如何将变量传递给第二个选项卡 [英] how to pass variable to a second tab

查看:52
本文介绍了如何将变量传递给第二个选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面是home.php在该页面上我有一个CSS选项卡是tab1和tab2在该页面的两个选项卡中我有一个名为next的链接,它将变量传递给下一页(< a href = ''home.php?page = $ lastpage''> NEXT< / a>)。如果我点击主页(home.php)上的tab1中的next,它将传递变量并将我带到主页tab1如果我点击tab2中的下一个,它也会把我带到主页并带我去tab1.i想把它带到主页和tab2我该怎么做。

i have a page which is home.php on that page i have a CSS tab which is tab1 and tab2 on that page in both tabs i have a link called next that pass variable to the next page (<a href=''home.php?page=$lastpage''>NEXT</a>).if i click on next in the tab1 on home page(home.php) it will pass the variable and bring me to the home page and tab1 if i click on the next in tab2 it will also bring me to home page and take me to tab1 back.i want it to bring meto the home page and tab2 how can i do that.

展开 | 选择 | Wrap | 行号

推荐答案

lastpage''> NEXT< / a>)。如果我在主页(home.php)的tab1中单击下一步它将通过变量并带我到主页和tab1,如果我点击tab2中的下一个,它也会带我到主页并带我到tab1.i想要它带我到主页和tab2我怎么能这样做。

lastpage''>NEXT</a>).if i click on next in the tab1 on home page(home.php) it will pass the variable and bring me to the home page and tab1 if i click on the next in tab2 it will also bring me to home page and take me to tab1 back.i want it to bring meto the home page and tab2 how can i do that.

展开 | 选择 | Wrap | 行号


呃,请你改一下你的问题,我没找到你想要的。
er, could you rephrase your question please, I didn?t get what you want.


我想要tab2来显示如果我点击tab2中的链接,它不应该带我回到tab1
i want tab2 to display if i click on the link Next in tab2 it should not take me back to tab1


这篇关于如何将变量传递给第二个选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆