Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $( 'select[name=perusahaan]' ).on( 'change', function() {
- var selected = $( this ).val();
- if ( selected == 'lainnya' ) $( this ).after( '<input type="text" name="perusahaan" id="jess">' );
- else $( '#jess' ).remove();
- } );
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement