aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Problem With Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem With Javascript" Watch "Problem With Javascript" New topic
Author

Problem With Javascript

Rupashree Nayak
Greenhorn

Joined: Jun 14, 2006
Posts: 2
we r showing the content file in javascript by document.write() method
for example document.write(<h1>Something</h1> ;
But i want to show this static content in a alert box with the output of that static file.
i was already tried for it but it was showing directly the texts not the output of that static content file.
So please help me to resolve this problem.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Do you mean showing an alert message of the content after being parsed ???

(As you might not know, there's a Javascript forum at the ranch. A moderator will probably move this thread for you.)


[My Blog]
All roads lead to JavaRanch
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

Moved to the HTML/Javascript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

So are you "Rupashree Naya" or "Ameet Gulhane"?

I find it difficult to believe that two different people would post the exact same question including all the same mis-spellings.
Rupashree Nayak
Greenhorn

Joined: Jun 14, 2006
Posts: 2
Originally posted by Bear Bibeault:
So are you "Rupashree Naya" or "Ameet Gulhane"?

I find it difficult to believe that two different people would post the exact same question including all the same mis-spellings.


ya we r posted the same problem so we want answer.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

Again, do not cross-post the same question more than once. Either from the same account, or as a tag team.

Cross-posting wastes people's time when multiple redundant conversations take place.

If you want an answer to your question, take the time to post the question in the correct forum in the first place, and use real words. Abbreviations like "r" in place of "are" only make your posts harder to read.

I recommend that you read the articles linked as "Asking Smart Questions" in my signature.
[ June 14, 2006: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem With Javascript