Re: DOM TextArea (and dom chart please)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





>// I have even tried this instead of the above:
>
>foreach ($inputs2 as $input2) {
>        if(!$input2->getAttribute("defaultValue")=="") {
>                $input2->setAttribute("defaultValue","it works!");
>        }
>}
>
>but no joy.
>
>I'm betting its pretty simple but i dont have a "DOM chart" for php, the only ones i have been able to find via google are for javascript like this one: http://www.hscripts.com/tutorials/javascript/dom/textarea-events.php
>
>
>and that chart does not help much.  Does anyone have a PHP DOM chart or a resource that i can use to get started using this?
>
>
When I get stuck on things like this, I find print_r() invaluable as it can basically dump out the objects entire contents, so I can see what values it has set.
====================

Hey Ash,
Thanks for replyng.

Where exactly do i use the print_r? and on which variable?
Because i have tried it in different places but still no luck..


      

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux