Link to home
Start Free TrialLog in
Avatar of Dana D
Dana D

asked on

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!
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dana D
Dana D

ASKER

yes i did - that is not the problem.... thanks!