facebook

Custom_js Not working : CLOSED

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

    creenx0625
    Member

    Hi there,

    I am trying to to figure out the problem with my code. I’ve been working on that for 1 week now, but still no luck to find a solution.

    I put alert(“Hello World!”); line on phoneui.documentReadyHandler = function() but even the alert doesn’t show.

    I already set the Main Screen, and no problem on generating codes (ex: i set form on a particular screen).

    May I ask your help to fix this issue. Btw, I am using the 2.5 version of M1.

    Hoping for your support for this issues.

    Thank and best regards,

    creenx

    #344283 Reply

    Bestmoose
    Participant

    Hi creenx,

    it works fine for me also on MobiOne 2.5 under Windows 7 64 bit.

    I attached a zip-file for you. Maybe that helps.
    See attachment hello_world.zip

    I am sure you know, that you have to modify the ‘filename_custom.js’ to make it work.

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

    creenx0625
    Member

    Hi Bestmoose,

    Thank you very much for your reply.

    I’ve just seen your work it is working fine. But I really don’t understand even if I write alert(“Hello World!”) on my project still it’s not working.

    Please find attached cumtom_js source.

    Thanks

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

    @creenx0625,

    The most common issue when javascript seems not to work is that there is an syntax error, which is the case in this _custom.js

    Note that there is a problem is the parameters in your $.ajax call, after defining the value in the url param you end the instruction with a semicolon ( ; ) and it should be a comma ( , ), try changing it and let me know how it goes.

    #344301 Reply

    Bestmoose
    Participant

    @ support-octavio
    Octavio, do you also have a solution for my problem if posted under http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=6444 ?

    #344309 Reply

    @Bestmoose,

    Wayne has followed up with you in your thread.

    #344350 Reply

    creenx0625
    Member

    Issue resolved.

    It’s a syntax error.

    Thank you so much guys

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Custom_js Not working : CLOSED

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