Why doesn't this work?
<script>
$(document).ready(function(){
$('#custom_field option').click(function(){
$('#custom_field_input').append('<tr><td></td></tr>');
$('#custom_field_input td:last').append($(this).find(":selected").text());
});
});
</script>
I found out that there is a .change function for this and it works but does not relate to me as i need to have the text appended even if there is no change in the value of the select dropdown.
Meaning.
User clicks on option1, appends option1 text.
User clicks on option 1 again, another option 1 text gets appended.