nauman73
09-04-2003, 05:05 AM
Hi!
Can I access HTML DOM in PHP? In JavaScript I know how to do this. For example
var div=document.all.item('myDiv');
gives me a reference to a DIV in my HTML with the id 'myDiv'.
And
div.innerHTML = "";
removes everything from this div.
Just wondering if I can do something similar in PHP. Will appreciate any help.
Nauman
Can I access HTML DOM in PHP? In JavaScript I know how to do this. For example
var div=document.all.item('myDiv');
gives me a reference to a DIV in my HTML with the id 'myDiv'.
And
div.innerHTML = "";
removes everything from this div.
Just wondering if I can do something similar in PHP. Will appreciate any help.
Nauman