PHP - Bootstrap modals
<p>So I have piece of code</p>

<pre><code>&lt;a href='#tos-modal' class='modal-trigger'&gt;&lt;li class='valign-wrapper' style='padding-left: 1em; padding-right: 1em;'&gt;
</code></pre>

<p>But it's not working for me. I had my files on Localhost and all were working perfectly, now I uploaded to webhost and not working :(. How could I fix it without changing that code?</p>

<pre><code>&lt;div class="modal" id="tos-modal"&gt;
            &lt;div class="modal-content"&gt;
                &lt;h4&gt;Terms of Service Agreement&lt;/h4&gt;  
            &lt;/div&gt;
            &lt;div class="modal-footer row valign-wrapper"&gt;
              &lt;div class="col s10"&gt;&lt;input type="checkbox" id="tos-accept"&gt;&lt;label for="tos-accept"&gt;I accept the Terms of Service and I am at least 18 years of age.&lt;/label&gt;&lt;/div&gt;
              &lt;a href="/?login" id="login-accepted-tos" class="btn green waves-effect waves-light col s2 disabled"&gt;Sign In&lt;/a&gt;
            &lt;/div&gt;
          &lt;/div&gt;
</code></pre>