解决这个令人满意的问题 [英] Solve this contenteditable issue

查看:81
本文介绍了解决这个令人满意的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,我对contenteditable =true没什么问题.....



i有这个代码



 <   td     contenteditable   =  true   > ')onClick =showEdit(this);> <? = $ val ['  name'] ?>  <   / td  >  





但是当我点击

<?= $ val [' name']?>



i有ge可编辑此值....



此值的输入如 - VALUE



但我无法编辑

 <   b  < span class =code-keyword>>  VALUE <   / b  >  



此可编辑仅输出



我尝试了什么:



我尝试编辑其输入值而不是输出值。

解决方案

val [' name'] ?> < / td >





但是当我点击

<?= <的值时/ blockquote> 

val [' name']?>



i可以编辑此值。 ...



此值的输入如下 - VALUE



但是我无法编辑

 <   b  >  VALUE <   / b  >  



这个可编辑只输出



我有什么试过:



我试着编辑它的输入值而不是输出值。


hello dear friends i have little problem with contenteditable="true".....

i have this code

<td contenteditable="true" >')" onClick="showEdit(this);"><?= $val['name'] ?></td>



but when i click on value of

<?= $val['name'] ?>


i have get editable for this value....

the input of this value like- VALUE

but i cant edit

<b>VALUE</b>


this editable is only output

What I have tried:

i'm try to edit its input value not output value.

解决方案

val['name'] ?></td>



but when i click on value of

<?=


val['name'] ?>


i have get editable for this value....

the input of this value like- VALUE

but i cant edit

<b>VALUE</b>


this editable is only output

What I have tried:

i'm try to edit its input value not output value.


这篇关于解决这个令人满意的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆