Kristi Castro has Published 92 Articles

The Benefits of Multithreaded Programming

Kristi Castro

Kristi Castro

Updated on 31-Jan-2020 09:59:23

9K+ Views

Multithreading allows the execution of multiple parts of a program at the same time. These parts are known as threads and are lightweight processes available within the process. So multithreading leads to maximum utilization of the CPU by multitasking.Some of the benefits of multithreaded programming are given as follows −Resource ... Read More

How to detect Ctrl+Enter in textarea using jQuery?

Kristi Castro

Kristi Castro

Updated on 30-Jul-2019 22:30:23

55 Views

$(document).ready(function(){ $('#myinput').keydown(function(e) { var newkey = 'Key code = ' + e.which + ' ' + (e.ctrlKey ? 'Ctrl' : '') + ' ' + (e.shiftKey ? 'Shift' : '') + ' ' + (e.altKey ? 'Alt' : ''); $('#mykey').text(newkey); return false; }); });

Previous 1 ... 6 7 8 9 10
Advertisements