Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    automatic webpage refesh after data insertion

    Hey,

    I am Lakshmi. I am stuck with an issue in my project from completion.
    My program is trading exoeriment with 2 groups. If any user in 1 group enters value in filed called askvalue, this value must must be updtaed to all other users in the group. I tried to do thi by inserting and updating the table. Values are updating correctly in table a but weppage s not being regfeshes to other traders in same group. I am posting my code here


    <input type="askbutton" name="ask" value"= " "><br>

    when any user in the group clicks this button insertion sql statements have to executed and then refesh the webpage for all the traders in the same group without clicking refresh.


    Can anyone help me with code or method of doing this or suggestions.
    Thanks
    Lakshmi

  • #2
    Regular Coder
    Join Date
    Feb 2009
    Location
    Wheeling, IL
    Posts
    358
    Thanks
    5
    Thanked 62 Times in 60 Posts
    So let me see if I understand correctly. You're trying to make a browser tell another browser on another computer to refresh a page? Contrary to my signature, I'm going to say... that is _not_ possible. Though I've been testing quite some things in that regard, considering I'm working on something else to achieve the same result and ended up with an auto-refresh every 15 seconds if the mouse isn't moving. I'm not sure if it's possible in any other language (Even though I'd be willing to go out on a limb and say it's not), but I'm quite certain what you're trying to accomplish can not be done in JavaScript.
    Last edited by Eldarrion; 03-23-2009 at 09:29 PM.
    The way to success is to assume that there are no impossible things. After all, if you think something is impossible, you will not even try to do it.

    How to ask smart questions?


  •  

    Posting Permissions

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