3 Replies - 1503 Views - Last Post: 05 January 2010 - 11:30 AM

#1 asj127  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 157
  • Joined: 29-April 09

insert text to the body of an html file?

Posted 05 January 2010 - 10:29 AM

I want to have some text in an html file, but I don't want to have several paragraphs in that file. Can I use Javascript to insert text from a different location? If so, how do I do that?
Can it really be impossible? I mean, you do it with pictures all the time... I just want to do it with text instead...

I can't post any code because I don't know how to do it. >_>" I've been trying to find stuff online, but most of that was to put a whole window inside it, with scrollbars and stuff.

Is This A Good Question/Topic? 0
  • +

Replies To: insert text to the body of an html file?

#2 Moshambi  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 8
  • View blog
  • Posts: 280
  • Joined: 20-November 07

Re: insert text to the body of an html file?

Posted 05 January 2010 - 11:07 AM

View Postasj127, on 5 Jan, 2010 - 10:29 AM, said:

I want to have some text in an html file, but I don't want to have several paragraphs in that file. Can I use Javascript to insert text from a different location?


What do you mean by this? Like loading it from another file? Perhaps an XML file maybe? I'll try to help but I'm just trying to get more details first.
Was This Post Helpful? 0
  • +
  • -

#3 asj127  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 157
  • Joined: 29-April 09

Re: insert text to the body of an html file?

Posted 05 January 2010 - 11:23 AM

I decided to do something easier instead. It'd probably be too much work this way.
Was This Post Helpful? 0
  • +
  • -

#4 Moshambi  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 8
  • View blog
  • Posts: 280
  • Joined: 20-November 07

Re: insert text to the body of an html file?

Posted 05 January 2010 - 11:30 AM

Ok well good luck then :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1