Quantcast
Channel: using javascript innerText problems | WPDFD.com Forums
Browsing all 6 articles
Browse latest View live

Joe Gillespie said:

You are really going down a blind alley with this. innerHTML is an unofficial kludge - and at best, should contain HTML, not just text so 'some text' needs to be <p>Some text</p>. Expect it...

View Article



Jargule said:

I found a solution to use,  I can create new tables when I need them and not use/delete the ones I created in HTML. function addCell(){   var x=document.getElementById('INVTable').rows[0]   var...

View Article

Image may be NSFW.
Clik here to view.

Joe Gillespie said:

jargule said: Can I use document.write to display some text inside a table (or cell) and not the entire page? Can I create a form element inside the table cell and be able to display text there as a...

View Article

Jargule said:

Can I use document.write to display some text inside a table (or cell) and not the entire page? Can I create a form element inside the table cell and be able to display text there as a workaround? Show...

View Article

Joe Gillespie said:

You can't write text with CSS like this, you can only style text that is already there. To write text you have to use document.write() or set the text of a form element with JavaScript.

View Article


Image may be NSFW.
Clik here to view.

Jargule said:

I am trying to write to a table:document.getElementById("PV1&quot.innerText = 'Open Circuit Voltage';It works in Frontpage (stupid frontpage)But nowhere else? Tried "publishing" that don't help.All...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images