This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(':button').click(function () { | |
| $('p').css('background-color', '#000').css('color', '#fff'); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function () { | |
| $('#message').fadeIn('slow'); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public int compareTo(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2) | |
| { | |
| if(buffer1 == buffer2 && offset1 == offset2 && length1 == length2) | |
| return 0; | |
| int end1 = offset1 + length1; | |
| int end2 = offset2 + length2; | |
| for(int i = offset1, j = offset2; i < end1 && j < end2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(':text').focusin(function () { | |
| $(this).css('background-color', 'yellow'); | |
| }); | |
| $(':text').blur(function () { | |
| $(this).css('background-color', '#fff'); | |
| }); |
NewerOlder