outerText property not working in Javascript

Posted on 2008-10-02
Last Modified: 2012-06-27
outerText property works in Internet Explorer but does not work in Firefox. How to get it working in Firefox...what is the alernative in Javascript for Firefox...
Question by:intikhabk
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 82

Expert Comment

ID: 22627174
>>outerText property works in Internet Explorer
Because it is an IE property only. It is NOT a "standard" property. Instead of:


Author Comment

ID: 22627219
suppose i have a table

how do i get test1 ...i nead a javascript code which will work in IE as well as Firefox
LVL 82

Accepted Solution

hielo earned 500 total points
ID: 22627271
give your td an id:

    <td id="c1">test1</td>
then use:

Open in new window


Expert Comment

ID: 33169323
u people r really very good! hats off boss.
I have been wandering since hours for solution to this problem, and i was sure that i will get solution of my problem here only but i could not get any suggestion in search list of your site.

finally i got it!

god is great
besides other reasons "coz he made u"

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding a countdown to HTA 12 98
Understanding ping command in Ubuntu 5 32
New-MoveRequest Exchange 2010 Powershell 1 42
HTML editor custom button 3 58
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question