12 Important Customer Service Skills in 2024
Excellent customer service has always been, and always will be, essential for any company's success. Here are the 12 most important customer service skills.
Read nowMore then once you need to select all checked checkboxes in your web application. With JQuery this is a piece of cake. The following code returns all the checked checkbox values in an array AND in a string;
[javascript]
<script type="text/javascript">
function getchecked(){
// Get checked values
var selected = new Array();
$(‘input[type=checkbox]:checked’).each(function() {
selected.push($(this).val());
});
// convert to a string
var mystring = selected.join(",");
}
</script>
[/javascript]
In case you only need to get the checkboxes within a “div” you would something like this:
[javascript]
<script type="text/javascript">
function getchecked(){
// Get checked values
var selected = new Array();
$(‘#mydiv input:checked’).each(function() {
selected.push($(this).val());
});
// convert to a string
var mystring = selected.join(",");
}
</script>
[/javascript]
and in case you don’t need the values, but only the names you would use:
[javascript]
<script type="text/javascript">
function getchecked(){
// Get checked values
var selected = new Array();
$(‘input[type=checkbox]:checked’).each(function() {
selected.push($(this).attr(‘name’));
});
// convert to a string
var mystring = selected.join(",");
}
</script>
[/javascript]
Now, if you put this is a globally accessible function you will never have to revisit the code and it simply works in your project 🙂 Have fun.
Excellent customer service has always been, and always will be, essential for any company's success. Here are the 12 most important customer service skills.
Read nowEmail delegation can reduce the burden on team members and spread the workload. Our guide to email delegation with a shared inbox will provide the answers.
Read nowGoogle Collaborative Inbox is a free inbox collaboration tool you can access by turning on Groups For Business. But does this Google feature have what it takes?
Read nowAutomated customer service is a game-changer for businesses. Learn about the benefits, examples, and strategies for implementing automated customer service.
Read nowEmpower your team and delight your customers.