Answers for "js function string parameter"

1

js function string parameter

$('#cat_list').append('<li id="cat_' + cat_id + '">'
            + '<i class="ri-delete-bin-3-fill" onclick=\'removeLi(' + cat_id + ', \"' + cat_title + '\")\'></i> ' + cat_title
            + '<input type="hidden" name="category[]" value="' + cat_id + '" /></li>');
Posted by: Guest on March-14-2022
0

javascript function with string parameter

document.write("<td width='74'><button id='button' type='button' onclick='myfunction(\""+ name + "\")'>click</button></td>")
Posted by: Guest on June-18-2021

Code answers related to "js function string parameter"

Code answers related to "Javascript"

Browse Popular Code Answers by Language