...

View Full Version : PHP DOM control



buildrebuild
01-28-2007, 10:58 PM
Hi,
Can PHP alter the DOM like javascript. I want to acheive this effect with PHP so the validation looks the same with javascript enabled and disabled.

http://www.onlinetools.org/articles/unobtrusivejavascript/ex_form.html

Thx
CB

Mhtml
01-29-2007, 03:50 PM
PHP is server side. JavaScript is client side. You can modify the markup you are sending to the client side with PHP.

chump2877
01-29-2007, 07:40 PM
http://us2.php.net/manual/en/ref.dom.php

I've never used this (have used JS in past), but I've heard good things about it...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum