CopyPastor

Detecting plagiarism made easy.

Score: 0.8416948550475571; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2021-01-15
by Molham Al Nasr

Original Post

Original - Posted on 2011-04-14
by Mike Thomsen



            
Present in both answers; Present only in the new answer; Present only in the old answer;

For versions of jQuery equal or above (>=) 1.6, use:
```JAVASCRIPT $("#option1").prop("checked", true); ```
For versions prior to (<) 1.6, use:
```JS $("#option1").attr('checked', 'checked'); ```
Tip: You may also want to call click() or change() on the radio button afterwards. See comments for more info.
For versions of jQuery equal or above (>=) 1.6, use:
$("#radio_1").prop("checked", true);
For versions prior to (<) 1.6, use:
$("#radio_1").attr('checked', 'checked'); **Tip:** You may also want to call `click()` or `change()` on the radio button afterwards. _See comments for more info._

        
Present in both answers; Present only in the new answer; Present only in the old answer;