我需要通过 VQMOD 替换以下代码的第一行。我将如何实现它?
<div class="form-group">
<label class="col-sm-2 control-label"><?php echo $entry_store; ?></label>
<div class="col-sm-10">
<div class="well well-sm" style="height: 150px; overflow: auto;">
我目前在 vqmod 中使用以下脚本。但它不起作用。
<operation>
<search position="replace" offset="1" index="1">
<![CDATA[<label class="col-sm-2 control-label"><?php echo $entry_store; ?></label>]]>
</search>
<add>
<![CDATA[<div class="form-group" style="display: none;">]]>
</add>
</operation>
我想替换<div class="form-group">
为<div class="form-group" style="display:none;">
还告诉我偏移量和索引是做什么用的?提前致谢 :)