Appending new elements to document
I've searched through the forum and found related posts where other people have had this problem, but I haven't found any solutions that have worked for me. I've disabled my XSS filtering in IE, as well as enabled scripts to run, but for some reason I'm still not able to append new elements to a page. At first I worked with iframes, but I changed to working DIVs. I've found that I have the same problem...I just can't append new elements. What I'm trying to do is write an external file script into my index page that has the DIV with the text that I want to change. Has anyone had this same problem before?
Give an example of what you have attempted thus far...
Hey JMRKER...well, what I've tried so far has been pretty straightforward. I created a DIV on my index page, then called function showitem(), and in the function all I want to do is write the script to the index page so I can fill the innerHTMLs. Here's the function:
So far I haven't been able to write the script, and if "test" shows up in my text field then I know it's writing in my values. For now it doesn't seem to be working. One last thing, this function is in an external .js file I include on the index head. If you've got any suggestions, feel free to go ahead. I don't know what else to try...lol
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)