小编Has*_*aza的帖子

解开div jquery中的所有段落标记

这里我有示例html我想在div中解开所有段落标签.目前html看起来像这样.

<div class="divclass">
   Hi this is some text. 
   <p>testing test</p>
   <p></p>
   <p><a href="#" rel="nofollow">Testing text2</a></p>
</div>
Run Code Online (Sandbox Code Playgroud)

但我想要这样.

<div class="divclass">
   Hi this is some text. 
   testing test
   <a href="#" rel="nofollow">Testing text2</a>
</div>
Run Code Online (Sandbox Code Playgroud)

提前致谢.

html javascript css jquery

6
推荐指数
1
解决办法
1549
查看次数

捆绑失败:错误:ENOENT:没有这样的文件或目录,scandir React Native

我的项目没有错误。但构建未成功加载。请参见下图。有关错误的更多详细信息。我正在使用以下命令来运行构建react-native run-android,但 npm 无法创建构建。该图像目录存在,并且我给出了正确的图像路径。提前致谢。

在此输入图像描述

-root --assets ---images ---- 这里的所有图像。

../../assets/images/sky-img.jpg在代码中使用它。

npm react-native

6
推荐指数
3
解决办法
1万
查看次数

标签 统计

css ×1

html ×1

javascript ×1

jquery ×1

npm ×1

react-native ×1