I need page external.js and multiple html

Discussion in 'JavaScript' started by georgege, Dec 2, 2008.

  1. #1
    Hi.
    I am trying to create one page external.js where next content(text1, text2, textN) and multiple html to upload content.

    page1.html(text1, textN), page2.html(text2, textN), page3.html(text1, text2).

    I've searched google and no find.
    I know is allowed but only ID per page.

    george
     
    georgege, Dec 2, 2008 IP
  2. rkharikrishnan

    rkharikrishnan Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you make the requirement more clear?
     
    rkharikrishnan, Dec 3, 2008 IP
  3. georgege

    georgege Greenhorn

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Hi,
    rkharikrishnan

    page1.html charged only text1(link1), text2(link2) from external.js (there is more text or link: text1, text2, text3, text4 and more)
    page2.html charged only text2(link2), textN(linkN) from external.js (there is more text or link: text1, text2, text3, textN and more)
    page3.html charged only text1(link1), text2(link2) from external.js (there is more text or link: text1, text2, text3, textN and more)

    here I name text but I know that is only 1 ID allows for javascript.
    you name as you want (text or link or another), I want to get from js on each page text(contents) only necessary for each pages.

    Thanks,

    george
     
    georgege, Dec 3, 2008 IP
  4. georgege

    georgege Greenhorn

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #4
    To upload only some text not all pages from external.js

    Really can not help anybody?

    george
     
    georgege, Dec 3, 2008 IP