点击中的会话价值变化 [英] Session value change in a click

查看:76
本文介绍了点击中的会话价值变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个会话值,并将其存储在文本框中.
我想通过单击更改该值.


I have a session value and stored it in a text box.
and i want to change that value by a click.

<tr>
                       <td height="30" valign="top" >&nbsp;</td>
                       <td valign="top"><input  type="button" id="msg" name="msg" style="background:url(images/bg7.jpg) no-repeat; border: none; color:#FFFFFF; font-family:Arial, Helvetica, sans-serif; width:100px; height:35px;font-size:28px;" value="<?php echo $_SESSION['security_code'];?>" /> 
                      </td>
                    </tr>









<tr>
                 <td height="30" valign="top" ><small>Can't read the image?</small> </td>
                       <td valign="top">click <a href=''><small>here</small></a><small>to refresh</                         small></td>
                     </tr>




我想要在此单击文本框中设置的新会话值.或在任何按钮中单击.如果可能,请告诉我.


感谢




i want in this click a new session value set in the textbox. or in any button click. can it be possible, if yes than pls let me know.


thanks

推荐答案

_SESSION ['security_code'];?>" / > < /td > < /tr >
_SESSION['security_code'];?>" /> </td> </tr>









<tr>
                 <td height="30" valign="top" ><small>Can't read the image?</small> </td>
                       <td valign="top">click <a href=''><small>here</small></a><small>to refresh</                         small></td>
                     </tr>




我想要在此单击文本框中设置的新会话值.或在任何按钮中单击.如果可能,请告诉我.


谢谢




i want in this click a new session value set in the textbox. or in any button click. can it be possible, if yes than pls let me know.


thanks


如果在页面顶部设置了


_SESSION [''security_code''],您只需单击鼠标即可刷新页面

_SESSION[''security_code''] is set at the top of the page, you just can refresh the page through the click

<a href="#" onclick="window.location.reload()">Click</a>


这篇关于点击中的会话价值变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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