WordPress Add Media Button not working

When you’re working with wordpress may be you have to face to this problem.This is a common issue in WordPress 3.5 version.When you going to create a new post or edit a post and if you click on “Add Media” button it is not working and nothing happened. If you updated wordpress this issue may be exist.The main reason is javascript/jquery conflicting.May be the Visual editor not working because of this issue.So I’m going to show how to fix this issue in few methods.
wordpress add-media-button-not-working

How to fix this Add Media Button not working issue

Method

1-Open the wp-config.php from root wordpress directory.
wp-config
2-Find this code in it.

require_once(ABSPATH . 'wp-settings.php');

3-add the following code before the above code.