Muhammed Imran Hussain

LAMP/LEMP, MEAN, JAVA Developer

Home » JavaScript

(AngularUI) UI-grid auto height and remove scrollbar

Angular-UI-grid is a powerful data grid library. But it’s scrollbar and fixed height is really annoying. Here is the quick fix: Set 100% width and height:

Remove scrollbar:

Read More »

(WordPress) How to handle multiple instance of “send_to_editor” js function

WordPress built-in media uploader is a great library for uploading media. We can create a upload popup instance for upload media or select media from media library by following way:

After upload done we can get the…

Read More »

(AngularJS) why ngInclude directive not fetching external html fragment?

There may be many reason of not fetching external html fragment. If you followed rules that ngInclude required, the source path is correct and it is not fetching fragment then one of the reason can be the the…

Read More »

(AngularJS) Bootstrap carousel not working with AngularJS – Fix

The AngularJS ngRoute directive intercepts anchor link click which is why Bootstrap carousel control does not work if controls are anchor link. The simple solution replace “anchor” tag with “span” tag From:

To:

Read More »