-
adding to html page
I'm trying to create a search page for old webcomic strips. my question is once i have the list of comics that the user searches for, how do i display then underneath the search bar without using document.write() which wipes clean the entire page?
-
-
Use the DOM functions: document.createElement(), document.createTextNode(), and HTMLElement.appendChild().
The code I recently wrote to add rectangles to a page is a fairly good example.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks