我想如何将整数值从一页增加到下一页... [英] How i want to increase the integer value from one page to next...

查看:76
本文介绍了我想如何将整数值从一页增加到下一页...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要有关javascript的帮助....

我想增加整数值...
例如在第一页中,该值为1 ...当我转到下一页时,该值将增加为2 ...

我想如何获得第一页的值并将其添加到第二页...

感谢您的关注....

i need help on javascript....

i want to increase the integer value...
for example in the first page, the value is 1... when i go to the next page the value will increase into 2...

how i want to get the value of the first page and add it at the second page...

thank for ur attention....

推荐答案

我如何获取第一页的值并将其添加到第二页...
您可以使用查询字符串.

导航到下一页时,将值附加在URL中.在下一页获取它并采取相应措施.
有关其工作的示例示例:使用QueryString在页面之间传递变量 [
how i want to get the value of the first page and add it at the second page...
You can use querystrings.

When you are navigating to the next page, append the value in the URL. Get it in the next page and act accordingly.
For sample example of it''s working: Passing variables between pages using QueryString[^]


这篇关于我想如何将整数值从一页增加到下一页...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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