Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
337 views
in Technique[技术] by (71.8m points)

php - 当id =“…”添加到标签时,我的表单元素消失了[重复](My form element disappears when id=“…” is added to the tag [duplicate])

As per the title, )I have a form that needs and id beacuse of the textarea element.

(按照标题,)我有一个需要和id的形式,因为textarea元素。)

However, just adding the id makes the form disappear completely.

(但是,仅添加id会使表单完全消失。)

Code before disappearance:

(消失之前的代码:) 消失前的代码

View before disappearance:

(消失前的视野:) 消失前的景色

Code when id is added:

(添加id时的代码:) 在此处输入图片说明

Refreshed page:

(刷新页面:) 在此处输入图片说明

Does anyone have a clue?

(有人有线索吗?)

I don't even know where to start looking for a solution, this seems so ridiculous.

(我什至不知道从哪里开始寻找解决方案,这似乎太荒谬了。)

The newAd is unique id within the scope of the project, not just the page, and is only referenced in code within textarea 's form attribute.

(newAd是项目范围内(而不仅仅是页面)的唯一id ,并且仅在textareaform属性内的代码中引用。)

  ask by Stefan Stankovi? translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Your ad blocker is likely causing the issue, since the id contains the word ad .

(您的广告拦截器很可能会引起问题,因为ID包含单词ad 。)

See this Q/A - AdBlock plus hids elements with ids or class with the word "ad"

(请参阅此问题/ 解答-AdBlock加上带有ID或类且带有“ ad”一词的hid元素)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...