Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/265.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何在多个文本区域上应用jquery elastic_Php_Jquery - Fatal编程技术网

Php 如何在多个文本区域上应用jquery elastic

Php 如何在多个文本区域上应用jquery elastic,php,jquery,Php,Jquery,我正在用id为的php生成多个文本区域,即 <textarea id="here php generated id" class="txta"> 现在我想将jquery弹性应用于这些文本区域中的每一个…$('textarea.txta').elastic() 它将应用于所有具有类txta…('textarea.txta').elastic()的textarea 它将应用于所有具有类txta…的文本区域,在jquery中使用class而不是id作为选择器。在jquery中使用cl

我正在用id为的php生成多个文本区域,即

<textarea id="here php generated id" class="txta">

现在我想将jquery弹性应用于这些文本区域中的每一个…

$('textarea.txta').elastic()

它将应用于所有具有类txta…('textarea.txta').elastic()的textarea


它将应用于所有具有类txta…

的文本区域,在jquery中使用class而不是id作为选择器。在jquery中使用class而不是id作为选择器。