jsp - Scrollbar to div element in jquery -


i putting scrollbar div element,below code

i have function assigns text it

$.each(obj, function(index,value) {                  displaystringappdata = displaystringappdata+'<xmp>'+value+'</xmp>';                           $("#configwindow").html('<br>'+displaystringappdata);                 showrcmodal('configwindow', 400, 700);             });  

where

function showrcmodal(divid, height, width) {     var rcmodel = "";     $('#'+divid).modal({         onshow: function() {             rcmodel = ;         },         onclose : function() {             rcmodel.close();         }     });     $("#simplemodal-container").css({'height':height,'width':width,'padding':'0','border':'0'});      $(window).trigger('resize.simplemodal');      return rcmodel; } 

but scroll not coming.what should do.please me

use overflow:scroll property simplemodal-container css function


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -