• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 402
  • Last Modified:

about outtertext...

can anyone tell me about the outertext property if any element.
0
devenkhatri
Asked:
devenkhatri
  • 6
  • 2
1 Solution
 
DreamMasterCommented:
Maybe this short description will provide you with some help?

To change both the text and the original tags around an element, you can use two properties called outerText and outerHTML. Both properties replace the text enclosed in the HTML for a specific element and the element tags themselves. Like innerText and innerHTML, they differ in terms of how the system processes them:

outerText provides changes that the system inserts as straight text, without performing any parsing. This text replaces the entire original element, including its HTML tags.

outerHTML provides text replacements and additional HTML tags that must be parsed and inserted in place of the original tags.

Max.
0
 
COBOLdinosaurCommented:
devenkhatri,

Did you post this here because you are interested in a solution, or were you just bored?

The way the site works is:  You post a question; experts post comments to try help you solve your problem;  You respond to the comments to let us know if you need more, or you accept the comment that was most helpful as an answer.

So we are waitng for you.  I think you can appreciate that if you were the expert who posted a comment and was ignored that you might consider that rude, and be reluctant to work with the same person again in the future.

Cd&
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
COBOLdinosaurCommented:
Okay we'll I guess now we know that it is just another rude, abusive user who does not deserve to be helped in the future.

Cd&
0
 
COBOLdinosaurCommented:
This question has been abandoned.  I will make a recommendation to the
moderators on its resolution in a week or two.  I appreciate any comments
that would help me to make a recommendation.

Cd&
0
 
COBOLdinosaurCommented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
split DreamMaster and COBOLdinosaur
</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
DreamMasterCommented:
No disagreement here Cd&.. :)

Max.
0
 
Computer101Commented:
Points reduced for split.  Comment from COBOLdinosaur accepted as answer.  DreamMaster, look for your question in this topic area.

Thank you
Computer101
Community Support moderator
0
 
COBOLdinosaurCommented:
Thanks C101 :^)

Cd&
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now