#44 Add, Remove Class

Next_Release
open
nobody
None
9
2014-04-17
2014-04-17
No

add following features

add_calss('c1'), remove_class('c2'), has_class('c2')

Discussion

  • Muhammad Zubair

    Muhammad Zubair - 2014-04-17

    Feature added

    PFA

     
    Attachments
  • Muhammad Zubair

    Muhammad Zubair - 2014-04-17

    Examples:

    $e->add_class('c1');
    $e->add_class(array('c1', 'c2', 'cn'));

    if($e->has_class('c'))
    $e->remove_class('c');

    $e->remove_class(array('c1', 'c3'));

    $e->addClass('nc');
    $e->removeClass('c');
    $e->hasClass('c');

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks