each option select jquery
$("#id option").each(function()
{
// Add $(this).val() to your list
});
each option select jquery
$("#id option").each(function()
{
// Add $(this).val() to your list
});
foreach selector in jquery
Use each: 'i' is the postion in the array, obj is the DOM object that you are iterating (can be accessed through the jQuery wrapper $(this) as well).
$('selector').each(function(i, obj) {
//test
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us