Geeks Talk

Prepare for your Next Interview




Adding new div

This is a discussion on Adding new div within the HTML & CSS forums, part of the Web Development category; How to add new div using javascriprt? Thanks in Advance Srikanth...


Go Back   Geeks Talk > Web Development > HTML & CSS

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-03-2006
Junior Member
 
Join Date: Sep 2005
Posts: 14
Thanks: 0
Thanked 8 Times in 5 Posts
Srikanth is on a distinguished road
Adding new div

How to add new div using javascriprt?

Thanks in Advance
Srikanth
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-03-2006
Moderator
 
Join Date: Oct 2005
Posts: 720
Thanks: 1
Thanked 98 Times in 74 Posts
Lokesh M is on a distinguished road
Re: Adding new div

You use use
HTMLElement.appendChild().

alternatively you can also try
document.createElement() in combination with document.insertBefore()

Thanks
Lokesh M.
Reply With Quote
Reply

  Geeks Talk > Web Development > HTML & CSS


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Adding functions to function generator bvani WinRunner 2 12-20-2006 04:56 AM


All times are GMT -4. The time now is 02:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved