Welcome to MTurk Crowd

Work on Amazon Mechanical Turk, learn from the best, and have fun doing it. Join the crowd today!

Sign Up

10/5 - Frosted Tips Friday!

Discussion in 'Daily Work Threads' started by jklmnop, Oct 5, 2018.

Thread Status:
Not open for further replies.
  1. GTR

    GTR
    Expand Collapse
    Well-Known Member

    Joined:
    Feb 10, 2016
    Messages:
    5,807
    Likes:
    12,092
    we need the music for this "YEAHHHHHHHHHHHHHHHHHHHHHH!"
     
    cb456 and Concise like this.
  2. TissueHime

    TissueHime
    Expand Collapse
    Thread Maker Extraordinaire

    • Threaderator
    Joined:
    Jan 12, 2016
    Messages:
    4,536
    Likes:
    6,498
    30 minutes left for dibs!
    if you do call it, please tag me or else i might miss it
     
    Collapse Signature Expand Signature
  3. Concise

    Concise
    Expand Collapse
    Buddhist Bacchante

    Joined:
    Apr 28, 2016
    Messages:
    2,258
    Likes:
    3,626
    Big Mouth, season 2, just dropped on Netflix.

    So... if you want to watch something in the background, maybe while doing other work in the foreground...
     
    Collapse Signature Expand Signature
  4. GTR

    GTR
    Expand Collapse
    Well-Known Member

    Joined:
    Feb 10, 2016
    Messages:
    5,807
    Likes:
    12,092
  5. FireMonkey

    FireMonkey
    Expand Collapse
    Professional ne'er do well

    Joined:
    Sep 12, 2016
    Messages:
    817
    Likes:
    1,238
    :cheers:
     
    GTR likes this.
  6. FireMonkey

    FireMonkey
    Expand Collapse
    Professional ne'er do well

    Joined:
    Sep 12, 2016
    Messages:
    817
    Likes:
    1,238
    So is the idea with the line
    $('input[value="Yes"]').click();
    that it will hit as many "yes" radio buttons as a hit has, and will only hit "no" on whatever you've specified to do so?
     
  7. DCI

    DCI
    Expand Collapse
    Active Member

    Joined:
    Jan 14, 2016
    Messages:
    999
    Likes:
    3,319
    If you're using a jquery selector and you don't specify an object, it will perform the action for all objects that match that selector, in this case, all inputs with a value of Yes.

    I usually just use query selector for radios, because it doesn't require inspecting anything. You can just use it for any radio button. In plain js:

    Code:
    document.querySelectorAll("input[type='radio']")[0].click();
    ^clicks the first radio button on a page.
     
    #707 DCI, Oct 5, 2018
    Last edited: Oct 5, 2018
    GTR and FireMonkey like this.
  8. Sciency McScienceface

    Sciency McScienceface
    Expand Collapse
    McFacescience Facey

    Joined:
    May 1, 2016
    Messages:
    1,258
    Likes:
    3,394
    Correct. In this context that's how that single line works because all of the values in these Validation HITs are the same. If I wanted them all to be marked 'no' then the value would be $('input[value="No"]').click(); but this would still not work on the Blurry radio button because the 3 options have more specific values (e.g. "YesWhole", "YesEdges","NoBlurry" the first 2 are misnomers) so that's why there has to be the second line.

    Most other A9s have values that are specific values, so simply using Yes/No won't work. You have to right-click within the HIT window, select Frame Source, and then find the specific value descriptor... It's easiest to then just type Control+F and then search for the term value= and you can figure out all of the possibilities, then pick the ones that are most appropriate for 99% of that specific A9 HIT type.
     
    Collapse Signature Expand Signature
    #708 Sciency McScienceface, Oct 6, 2018
    Last edited: Oct 6, 2018
    GTR and FireMonkey like this.
  9. TissueHime

    TissueHime
    Expand Collapse
    Thread Maker Extraordinaire

    • Threaderator
    Joined:
    Jan 12, 2016
    Messages:
    4,536
    Likes:
    6,498
    Collapse Signature Expand Signature
  10. FireMonkey

    FireMonkey
    Expand Collapse
    Professional ne'er do well

    Joined:
    Sep 12, 2016
    Messages:
    817
    Likes:
    1,238
    Thank you!
     
  11. FireMonkey

    FireMonkey
    Expand Collapse
    Professional ne'er do well

    Joined:
    Sep 12, 2016
    Messages:
    817
    Likes:
    1,238
    Ah, I will explore this more tomorrow! Thanks for your help this evening! :)
     
    GTR and Sciency McScienceface like this.
Thread Status:
Not open for further replies.