facebook

Basic javascript help please

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #348669 Reply

    Olly
    Member

    Hi all,

    I’ve completed the basic outline for my app and have spent a few weeks learning the Javascript basics but I’m still stuck!

    I’ve made a textfield and a button. I’m trying to store what the user enters in the textfield once the button is clicked into an array, which is then shown on a seperate page. This will then be the title for another array but I’m just trying to do the first step for now!

    I appreciate this is very basic but I’m stuck.

    #348675 Reply

    Hi Olly,

    Can you share more details about how you will use your arrays? Do they have to be saved necessarily? Or do you just need that the text typed in a screen is shown in a secondary screen?

    #348678 Reply

    Olly
    Member

    Hi.

    What I would like is for the user to enter a string in the text field and press the button to save it. This will need to be saved.

    The saved string then needs to be shown on another screen along with other saved entries. That’s the first part I’ve been trying to work out with little success!

    It may be worth mentioning that these results will be linked to more UI stored data!

    If you could help with just the first bit I should be able to sort the rest (hopefully!)

    #348680 Reply

    Code_A
    Member

    Are you familiar with the localStorage feature? It allows you to store data on the device HD and recall it from your app. Here is a link to Cincy’s How-To on the localStorage subject. I think this will help in your situation.

    #348685 Reply

    Olly
    Member

    @Code A wrote:

    Are you familiar with the localStorage feature? It allows you to store data on the device HD and recall it from your app. Here is a link to Cincy’s How-To on the localStorage subject. I think this will help in your situation.

    Ah brilliant, thank you! I will have a read up

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Basic javascript help please

You must be logged in to post in the forum log in