Giter Site home page Giter Site logo

Comments (2)

nikku avatar nikku commented on August 29, 2024

Please post how you use it.

Thanks!

from jquery-bootstrap-scripting.

bharatkrishna avatar bharatkrishna commented on August 29, 2024

As in this link: http://docs.jquery.com/Plugins/Validation#source
include the jquerry validation script.

On my popup form I have class="ajax" as shown in your example and id="commentForm" as shown in the example on the above link.

<form id="commentForm" class="ajax" method="post" action="sendmail.php">

For a text input which has to be validated, I include class="required" as per example in the above link

<label for="fname">First Name</label> <div class="input"> <input name="fname" type="text" class="required" minlength="2"/> </div>

I have this within my head tag as shown in the example in the above link:

          $(document).ready(function(){
            $("#commentForm").validate();
          });
          </script>

This is causing the rotating busy icon to be seen on the popup & the validation actually doesn't work.

I am new to javascript & jquerry. I suspect your script & the jquerry validation script is clashing. Could you please tell me a way to perform validation using your framework?

from jquery-bootstrap-scripting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.