Needs help with newsletter form html, css, javascript,mailman script

I am trying to configure the newsletter field form on my website to work with mailman newsletter script which is a thirdparty script installed on my server.

heres my code so far:

         <form id="newsletter" method="post" action="http://mywebsite.com/mailman/subscribe/mailinglistname">
          <div>
            <div class="bg">
              <input name="email" class="input" type="text" value="Type Your Email Here">
            </div>
            <a href="javascript:{}" onclick="document.getElementById('newsletter').submit(); return false;" class="button">Subscribe</a> </div>
        </form>

when i click the subscribe button on the webpage it loads the url from action in the browser address but the entire page just freezes at that point and nothing is active on the webpage any more....

Can someone please check my html,css,javascript and make sure its correct?

Thank you!
IT_Field_TechnicianAsked:
Who is Participating?
 
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Did you remember to switch out, "mywebsite.com" in the url "http://mywebsite.com/mailman/subscribe/mailinglistname" with your actual domain name?
0
 
IT_Field_TechnicianAuthor Commented:
yes i did - that is not the problem.... thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.