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.
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    New Coder
    Join Date
    Oct 2012
    Posts
    55
    Thanks
    26
    Thanked 0 Times in 0 Posts
    Thanks rnd and Old Pendant...

    I've tried everything mentioned above and I STILL get an error message.

    NEW ERROR MESSAGE = unable to set the value of the property 'current_player'


    Seems like a little looping code to store the form variables should be really easy to accomplish, why it isn`t working I`m sure must be obvious.

    I should mention I`m coming off a real bad cold/flu so my head is quite foggy the last few days, maybe this is my problem lol.

    Anyways I`ll keep investigating and checking back here becuase I REALLY need that save feature.

    Maybe there's something wrong with my form structure...?
    Last edited by Mindphaser; 02-16-2013 at 05:47 PM.

  2. #17
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,378
    Thanks
    11
    Thanked 592 Times in 572 Posts
    if you replace your function with mine it works.

    at least in chrome.

    here's my proof; click the "HTML" tab, click a radio and then click "RUN".
    try changing the radio, and clicking "RUN" again. works for me in chrome.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.6, IE11:9.1, IE9:3.1, IE10:3.0, FF:17.2, CH:46, SF:11.4, NON-MOUSE:38%

  3. Users who have thanked rnd me for this post:

    Mindphaser (02-16-2013)

  4. #18
    New Coder
    Join Date
    Oct 2012
    Posts
    55
    Thanks
    26
    Thanked 0 Times in 0 Posts
    thanks again rnd, am about to take the kids to the beach, so I'll investigate that when I get back.

    I've been using IE 9, as far as I know, that should work in IE 9...?

  5. #19
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,378
    Thanks
    11
    Thanked 592 Times in 572 Posts
    Quote Originally Posted by Mindphaser View Post
    thanks again rnd, am about to take the kids to the beach, so I'll investigate that when I get back.

    I've been using IE 9, as far as I know, that should work in IE 9...?
    yes, the code itself works fine in IE9 (i just double checked).
    turns out the link itself is busted in IE9 because the url gets cutoff at ~2kb.


    anyway, the function used by the linked demo does work in IE9, i promise.

    load the demo in chrome, swap the save_game() functions with your code's version, and you should be good to go.
    of course, you don't have any load code yet, but that's beside the point at this point...

    PS: the beach huh? gee, that sounds terrible, my condolences. all we have around here is frozen dirt...
    Last edited by rnd me; 02-16-2013 at 08:46 PM.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.6, IE11:9.1, IE9:3.1, IE10:3.0, FF:17.2, CH:46, SF:11.4, NON-MOUSE:38%

  6. Users who have thanked rnd me for this post:

    Mindphaser (02-16-2013)

  7. #20
    New Coder
    Join Date
    Oct 2012
    Posts
    55
    Thanks
    26
    Thanked 0 Times in 0 Posts
    to rdn... frozen dirt eh? Am sorry to here about that... just melt the ice and you have yourself a beach (you already have the dirt) lol.

    Anyways, I'm still unclear on what code pieces do work, and which don't now.

    I should point out that the code I originally posted (regarding moving of game pieces) won't actually apply to my site (I don't think). I'll check it again later, but for now, I simply need to get the localstorage feature to save and load form elements (once I have seen it done with multiple radio boxes, I know I can extrapolate it to other types of form fields, and maybe even movable images).

    Again, I don't know if the form I posted earlier in this thread is properly constructed (was taught forms 10 years ago lol), or the problem might be something else.

    From what I understand from you, it Will work in IE9.

    The function you mentioned that WOULD work... not sure which function statement that one was (as a couple have been posted here now). Could you cut and paste the one that should work please.

    Just can't understand why it isn't seeing the variables and picking one.

    Does HTML5 have problems with older non-updated editors? I'm using a Homesite version from 10 years ago and have been testing the code through that in order to see the error messages I get.

    Thanks again though for being so patient with me rdn.

    PS. you mentioned that a link was busted and cut off at 2kb... what do you mean exactly? Which link?
    Last edited by Mindphaser; 02-16-2013 at 11:19 PM.


 
Page 2 of 2 FirstFirst 12

Posting Permissions

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