javascript - removeattr scroll-sel and Add atriv -


i javascript remove

<ul class="selection-list sel-scroll sel-items js-items-unchecked"> 

remove (sel-scroll)

and add code below that

this code

<link rel="stylesheet" type="text/css" media="all" href="js/jscrollpane.css" /> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.mousewheel.js"></script> <script type="text/javascript" src="js/jscrollpane.js"></script> <script type="text/javascript">     $(function()     {         $('#pane1').jscrollpane({showarrows:false,scrollbarwidth:10, scrollbarmargin:20});     }); </script> 

it looks you're using jquery. therefore can do:

$('#elementid').removeclass('sel-scroll'); 

also into:

$('.sel-scroll').removeclass('sel-scroll'); 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -