Re: Dynamic HTML Creation

From: Date: Sat, 28 Aug 2004 07:04:51 +0000
Subject: Re: Dynamic HTML Creation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194987@lists.php.net to get a copy of this message
On Fri, 27 Aug 2004 23:17:29 -0700, Sam Hobbs <socalsam@bigfoot.com> wrote: > Is it possible to use the DOM to add (HTML) elements to a page at the time > the page is being shown? The HTML and VBScript shown below is a simplified > version of what I need to do but of course I need to do it in PHP. Since PHP is server-side (right?) perhaps it is not possible. --------------- Yes, it is possible. And you are right, PHP is a server side language. In addition to PHP, use a client-side scripting language (like JavaScript). JavaScript also has functions for accessing the DOM (createElement and getElementByID). HTH ---- ramil http://ramil.sagum.net

« previous php.general (#194987) next »