FAQ
when i am trying to delete the Attribute by using RemoveAttribute property.
It didnt delete it.

For example:
$node->removeAttribute('src');

instead of the above following code works:
  $node->nodeValue='';
whats the reason??
----
Server IP: 69.147.83.199
Probable Submitter: 39.47.61.161
----
Manual Page -- http://php.net/manual/en/domelement.removeattribute.php
Edit -- https://master.php.net/note/edit/112187
Del: integrated -- https://master.php.net/note/delete/112187/integrated
Del: useless -- https://master.php.net/note/delete/112187/useless
Del: bad code -- https://master.php.net/note/delete/112187/bad+code
Del: spam -- https://master.php.net/note/delete/112187/spam
Del: non-english -- https://master.php.net/note/delete/112187/non-english
Del: in docs -- https://master.php.net/note/delete/112187/in+docs
Del: other reasons-- https://master.php.net/note/delete/112187
Reject -- https://master.php.net/note/reject/112187
Search -- https://master.php.net/manage/user-notes.php

Search Discussions

  • Aharvey at May 24, 2013 at 6:03 pm
    Note Submitter: sanu_imtiaz at yahoo dot com

    ----

    when i am trying to delete the Attribute by using RemoveAttribute property.
    It didnt delete it.

    For example:
    $node->removeAttribute('src');

    instead of the above following code works:
      $node->nodeValue='';
    whats the reason??

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-notes @
categoriesphp
postedMay 15, '13 at 6:40a
activeMay 24, '13 at 6:03p
posts2
users2
websitephp.net

2 users in discussion

Aharvey: 1 post Sanu_imtiaz: 1 post

People

Translate

site design / logo © 2019 Grokbase