facebook

checkbox verification: CLOSED

💡
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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #325432 Reply

    Yann
    Member

    hello everybody
    This function run as well with mobione 1.4 and not with 1.5 version 🙁
    any idea?
    Thanks
    Yann

    function acceptconditions()
      {
      var accept= $('#m1-avert-checkbox1 input').attr('checked');
     if (accept==false)
        {
          alert('Vous devez accepter les conditions d\'utilisation en cochant la case');
       }
     else
     {
       phoneui.gotoPage( "m1-register", phoneui.transitions.slideLeft ); 
     }
    #325445

    support-michael
    Keymaster

    @Yann

    I’m wondering if there is a difference in the version of jquery here. MobiOne 1.5 introduced a setting for choosing the version of jquery to include in your project. MobiOne 1.4 and earlier versions used jquery 1.3.2 in all projects. MobiOne 1.5 and greater use jquery 1.7.1 by default. You can try changing the setting Window>Settings>HTML Generation>JQuery version back to 1.3.2 and see if the code runs (I’m generally curious).

    Also see the slightly different syntax used in the checkbox snippets and upgrade your query:
    http://genuitec.com/mobile/docs/javaScriptSnippets/javaScriptSnippets.html#checkbox_widget_snippets

    Let me know if either suggestion helps resolve the matter.

    #325472

    Yann
    Member

    Hello Wayne
    thanks a lot, i updated my script and he run as well now
    Yann

    #325473

    support-michael
    Keymaster

    @Yann

    I’m glad your app is working again.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: checkbox verification: CLOSED

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