facebook

what´s wrong in this code

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    Yafar
    Member

    In my application, there are three files
    1.-Home.mobi
    2.-calculadoraparacetamol.mobi
    3.- calculadoraibuprofeno.mobi

    They are a simple dose of medicine calculators.
    The code in javascript to load this in home_custom.js.

    Home is the main (with a menu) to jump the other files.
    What is wrong In this code does not work.

    Help please, it is very important to me.thank you very much

    Attachments:
    You must be logged in to view attached files.
    #344864

    DaveClark
    Participant

    I am not sure, also i am just learning.
    does there need to be an closing function brace added to the end of your home_custom.js file?

    try putting in the } brace

    #344867

    Hi Yafar,

    As daveclark said, it seems there is a curly bracket( { ) missed. But what I can see is that it should be at the end of the block code of your updatep function. Let us know how it goes for you.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: what´s wrong in this code

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