第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

php 中新行的 jQuery 語(yǔ)法是什么?

php 中新行的 jQuery 語(yǔ)法是什么?

動(dòng)漫人物 2023-05-19 14:28:37
當(dāng) php 中的 jq 代碼時(shí),我試圖在 jQuery 中找到運(yùn)算符以在下一行編寫代碼這是我的工作代碼:-        <?php    $addoldgoldrow = '                                        $(document).on("click",".add_btns",function(e) {                                                     e.preventDefault();                                        $("table#old_gold tbody").append(markups);                                        indexassigneroldpurchase();                                     });                       ';    $this->registerJs($addoldgoldrow, View::POS_READY);    ?>我正在嘗試這樣做     <?php    $addoldgoldrow = '                                        $(document).on("click",".add_btns",function(e) {                                                     e.preventDefault();                                        var markups = "<tr class=\'rowaccs\'>                                                        <td><input type=\'text\' class=\'sl_no\' name=\'sl_no[]\' style=\'width: 100%\'></td>                                                        <td><input type=\'text\' class=\'oweight inputbox input_table1\' name=\'oweight[]\' style=\'width: 100%\'></td>                                                        <td><input type=\'text\' class=\'ostone_weight  inputbox input_table1\' name=\'ostone_weight[]\' style=\'width: 100%\'></td>                                                        <td><input type=\'text\' class=\'ovd inputbox input_table1\' name=\'ovd[]\' style=\'width: 100%\'></td>                                                        <td><input type=\'text\' class=\'onet_weight inputbox input_table1\' name=\'onet_weight[]\'  style=\'width: 100%\'></td>                                                        <td><input type=\'text\' class=\'orate inputbox input_table1\' name=\'orate[]\' value=\'' . $metal_rate . '\' style=\'width: + 運(yùn)算符不起作用我試過“+”和“+”什么運(yùn)算符最適合用來連接這些線?
查看完整描述

1 回答

?
慕森卡

TA貢獻(xiàn)1806條經(jīng)驗(yàn) 獲得超8個(gè)贊

只需\在每一行的末尾添加


所以你的代碼看起來像這樣:


$addoldgoldrow = '    

  $(document).on("click",".add_btns",function(e) {             

    e.preventDefault();

    var markups = "<tr class=\'rowaccs\'> \

                    <td><input type=\'text\' class=\'sl_no\' name=\'sl_no[]\' style=\'width: 100%\'></td> \

                    <td><input type=\'text\' class=\'oweight inputbox input_table1\' name=\'oweight[]\' style=\'width: 100%\'></td> \

                    <td><input type=\'text\' class=\'ostone_weight  inputbox input_table1\' name=\'ostone_weight[]\' style=\'width: 100%\'></td> \

                    <td><input type=\'text\' class=\'ovd inputbox input_table1\' name=\'ovd[]\' style=\'width: 100%\'></td> \

                    <td><input type=\'text\' class=\'onet_weight inputbox input_table1\' name=\'onet_weight[]\'  style=\'width: 100%\'></td> \

                    <td><input type=\'text\' class=\'orate inputbox input_table1\' name=\'orate[]\' value=\'' . $metal_rate . '\' style=\'width: 100%\'></td> \

                    <td><input type=\'text\' class=\'oamount inputbox input_table1 table1_end row_end\' name=\'oamount[]\'  style=\'width: 100%\' readonly></td> \

                    td><span class=\'rowcloseoldgold\'><i class=\'fa fa-times\' style=\'color: #C11429;\' aria-hidden=\'true\'></i></span></td</tr>";

    $("table#old_gold tbody").append(markups);

    indexassigneroldpurchase();

});  ';     


查看完整回答
反對(duì) 回復(fù) 2023-05-19
  • 1 回答
  • 0 關(guān)注
  • 137 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)