JCrop, how to clear all the div width/height markup?

前端 未结 2 1532
予麋鹿
予麋鹿 2021-01-13 07:48

I have a profile picture system which allows image cropping using jCrop. I\'ve noticed if the user goes through the process a few times, the crop dimensions are not calculat

2条回答
  •  无人共我
    2021-01-13 08:24

    Making some huge assumptions about your situation, I've decided that you might try something like this: ​$(function(){$(​'.jcrop-holder').removeAttr("style");​​​​​​​​​});​​​​​

    If that's not what you need, you oughtta give us some more info!

提交回复
热议问题