Hi,
I'd like to use some usual HTML commands on the "basic page" type of content. What text format should I use for this?
I tried to put the following code into "Edit" window:
But on every text format I used (Full HTML, Filtered HTML, Plain text) I just see this code on the page. How can I display my nice red circle?
Best regards,
Maria
mpatsyuk@mit.edu
Sorry, I forgot actual code:
var b = document.getElementById("someID");
b.innerHTML = "some text";
4/20/16
mpatsyuk@mit.edu
4/20/16
mpatsyuk@mit.edu
"
"
4/20/16
mpatsyuk@mit.edu
it disappears here... but it was just usual HTML code
4/20/16
asphodel@mit.edu
First, make sure you've turned Rich Text (WYSIWYG) off when you're creating/editing your node.
Full HTML should work, but if you're still having trouble, you can create your own text format under the Configuration menu option. I usually create a "Raw HTML" text format for myself with all of the filters turned off, just so I have something the site won't mess with.
4/26/16