facebook

Bug?

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

    Unknown Author
    Participant

    I encountered this “behavior” tonight.

    In the Test Center, it appears one can use more than one method to clear a Text Area:

    $(‘#m1-FileName-TextAreaName’).val(‘ ‘);
    $(‘#m1-FileName-TextAreaName’).text(‘ ‘);

    If you compile the .text(‘ ‘) method, it will not work under iOS 5. So, Test Center is not, in this sense, representative of iOS.

    -1TC

    #326094

    support-michael
    Keymaster

    @1thinchip

    >If you compile the .text(‘ ‘) method, it will not work under iOS 5

    I created a simple example that uses a textarea with 2 buttons that respectively run the val() and text() functions. In my webapp testcase and my native app testcase the textarea is cleared when executed on iphone 4s with iOS5.

    Here is link to my webapp example:
    URL: http://goo.gl/BRMtr

    Here is the example .mobi file
    See attachment val-text-test.mobi

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

    Unknown Author
    Participant

    Thanks for looking into this. I am using a 3GS w/ iOS 5. Maybe this was fixed in the 5.1.1 drop? I’ll take a look at the .modi and web app…

    -R

    #326114

    support-michael
    Keymaster

    @1thinchip

    What is the widget who’s text is being cleared? Is it a text-area, input-field, password….
    In my little test I used a text-area widget to clear.

    #326121

    Unknown Author
    Participant

    I’m using a textarea.

    Using your webapp, in Firefox (Windows7) and Safari (iphone), the text() method only works once. The val() works repeatedly.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Bug?

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