dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Session value change in a click

  1. #1
    Join Date
    Jul 2012
    Posts
    23

    Post Session value change in a click

    hi,
    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>


    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

  2. #2
    Join Date
    Apr 2010
    Posts
    227
    Definately possible and quite easy.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles