Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript remove a Class

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27254

    hi,

    hi , i want to remove this tools which i show in below picture with java script From my ning website, i used

    document.getElementById(‘xj_message_container’).document.getElementByclass(‘texteditor_toolbar’).style.display=’none’;

    removeClass(document.getElementById("xj_message_container"), "texteditor_toolbar")

    but it still doesnt work , any idea ?
    tnx
    <p style="text-align: left;"><img src="http://api.ning.com/files/o3VTA62SVkDDuDa4yN9tBxCIvofztaY2E60Vgwk8zgFwnywc-EAhdEpZE0ZAA41rN778UzK5ng1Yp*Vthjcv5syb7MIB*wXo/toolsremove.jpg&quot; alt=""/></p>

    #68376
    BaylorRae
    Member

    Using raw javascript I came up with this.

    Code:




    Javscript, remove class




    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.