How Can I concatenate a parameter string in javascript function on string in appended html?

前端 未结 5 1457
借酒劲吻你
借酒劲吻你 2021-01-17 04:45

This is my code for html

 

Then I append an inpunt to #content:

 $( document ).ready         


        
5条回答
  •  既然无缘
    2021-01-17 05:20

    Try this :

    $( document ).ready(function() {
    // Handler for .ready() called.
       var parameter = "

    Hola new

    "; $("#content").append('

    click the botton

    '+ ''+ ''+ '
    '); });

提交回复
热议问题