Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22910

can i paste java script in to a div?

Newsgroups comp.lang.javascript
Date 2014-01-31 08:54 -0800
Message-ID <7e9fdcbf-198d-4e10-96e8-42e8eff38ab7@googlegroups.com> (permalink)
Subject can i paste java script in to a div?
From jcharth@gmail.com

Show all headers | View raw


Hello I have a script that grabs a piece of code (widget) from my database and I puts the code in the page with  

 document.getElementById('mdiv').innerHTML = strVALUE;

but  it does not work. I dont think it can work. Is there a way to do this?

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

can i paste java script in to a div? jcharth@gmail.com - 2014-01-31 08:54 -0800
  Re: can i paste java script in to a div? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-31 18:21 +0100
  Re: can i paste java script in to a div? jcharth@gmail.com - 2014-01-31 10:25 -0800
    Re: can i paste java script in to a div? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-31 19:34 +0100
      Re: can i paste java script in to a div? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-31 19:35 +0100
        Re: can i paste java script in to a div? jcharth@gmail.com - 2014-02-07 08:03 -0800
          Re: can i paste java script in to a div? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-02-07 21:10 +0100

csiph-web