How to add scroll bar dynamically in div?

Posted by JavaH on Stack Overflow See other posts from Stack Overflow or by JavaH
Published on 2012-06-07T10:19:38Z Indexed on 2012/06/07 10:40 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

hai i need to add the Scroll bar dynamically i tried http://www.w3schools.com/cssref/tryit.asp?filename=trycss_overflow.but its not working.Anybody kindly help me

$results_list = $('<div class="'+options.resultsClass+'" style="display:block;position:absolute;z-index:9999;overflow:scroll;"></div>').

update

 $results_list = $('<div class="'+options.resultsClass+'" style="width:100px;height:100px;overflow:scroll;display:block;position:absolute;z-index:9999;"></div>').hide();

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about android