使用javascript和dom为可编辑文本创建一个不可编辑的(标签)字段 [英] making a noneditable (label) field to a editable text using javascript and dom

查看:216
本文介绍了使用javascript和dom为可编辑文本创建一个不可编辑的(标签)字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有一组表单字段(标签)和按钮编辑,单击编辑按钮,标签字段中的文本应显示在文本框中,如何使用javascript和DOM。可以有人帮我这个..?

谢谢


have set of form fields(label) and button edit, onclick of the edit button , the text in the label fields should be displayed in textbox, how to do this using javascript and DOM. can somebody help me on this..?
thanks

推荐答案

Heya,Kath。欢迎来到TSDN!


更改主题标题以更好地描述问题(您是否知道标题不符合发布指南实际上得到了FEWER响应?)。
Heya, Kath. Welcome to TSDN!

Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).


到目前为止显示您的代码,所以我们可以使用它。
Show your code so far, so that we can work with that.


合并的线程 - 请不要双重发布。
Merged threads - please do not double post.


这篇关于使用javascript和dom为可编辑文本创建一个不可编辑的(标签)字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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