Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create select option using jquery

$.fn.fillup = function() {
  $(this)
    .append('<option value="one">One</option>')
    .append('<option value="two">Two</option>')
}

$('#form .selectbox').fillup();
 
PREVIOUS NEXT
Tagged: #create #select #option #jquery
ADD COMMENT
Topic
Name
2+5 =