select jquery
select jquery
this script works in a select, how can remove the value append bellow? i had tried else but not working.
and another thing, if a click in another select and click in report a problem, appear again the input and button, how can put this for appear only one time?
thanks.
<script>
$("select").change(function () {
if( this.value == 'report a problem' )
{
$('div').append("<input type='text'/>","<button>save</button>");
}
});
</script>