Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove line break javascript

<script type="text/javascript">
    var get_banner_detail = `<?php echo json_encode($get_banner_detail); ?>`;

    exam = get_banner_detail.replaceAll(/(
|
|
)/gm, '<br>');
</script>
 
PREVIOUS NEXT
Tagged: #remove #line #break #javascript
ADD COMMENT
Topic
Name
2+4 =