Output javascript code to textarea field

Why a code like this:

 "<div id=""> </div><script async="true" type="text/javascript" src=""></script>"

Won’t display graphically into a text area field like this:

 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
 <textarea placeholder="<?php echo $settings['placeholder']; ?>" name="<?php echo $name; ?>" type="text/javascript" class="widefat" cols="20" rows="2" ref="<?php echo $groupid; ?>" id="<?php echo $id; ?>"><?php echo htmlentities( $value ); ?></textarea>

Any help?
Thank You!

Read more here: Output javascript code to textarea field

Leave a Reply

Your email address will not be published. Required fields are marked *