Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

twitter-bootstrap closing alert does not work

twitter-bootstrap closing alert does not work

Problem

I can't get it to work. When I click the close button, nothing happens.

here's the code:

 
errors

I've reproduced the issue on jsfiddler: http://jsfiddle.net/graphicsxp/7L7Nd/

EDIT

@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "quoteWizard" }))
{
    


    ViewBag.ValidationSummaryClass = ViewData.ModelState.IsValid ? "validation-summary-valid" : "validation-summary-errors";

    
Before you can continue, please make sure you have completed the mandatory fields highlighted below.
    @RenderSection("QuoteSection")
    }
    Problem courtesy of: Sam

    Solution

    I've sorted it out.

    Instead of using a button, I'm now using a span, so the form doesn't get submitted:

            ×
    

    thanks for your help

    Solution courtesy of: Sam

    Discussion

    View additional discussion.



    This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

    Share the post

    twitter-bootstrap closing alert does not work

    ×

    Subscribe to Css3 Recipes - The Solution To All Your Style Problems

    Get updates delivered right to your inbox!

    Thank you for your subscription

    ×