0

I'm using htmlbox , I want to disble the text box in some cases ( so the user would not be able to write inside it).

how can i disable it?

Thank's In Advance.

1

1 Answer 1

1

With the disabled attribute (which has a matching boolean DOM property)

If you mean read only rather than actually disabled, then there is also readonly.

Sign up to request clarification or add additional context in comments.

4 Comments

Dorward: I tried that , but it did not work. I think it's because it's not a regular textarea but an htmlbox jquery plugin. so is there a way to disable the box?
The answer will probably be very specific to that plugin (which should have been mentioned in the original question and probably is too niche to ask outside of a specific support forum for that plugin). I know nothing about it.
I worte in my question that it is htmlbox 4.0. but thank's any way.
Ah. It looked like "A text input or textarea in HTML 4" filtered through bad English (which quite a lot of questions suffer from on this site). Beg pardon for the misunderstanding.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.