Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7042741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:12:18+00:00 2026-05-28T02:12:18+00:00

I have a slight problem with usage of jquery validation plugin. It works perfectly

  • 0

I have a slight problem with usage of jquery validation plugin.

It works perfectly with static forms rendered during normal pageload.
The code I use for validation looks something likie this

$('#form_name).validate({ (...) and other stuff

The problem is when I use ajax request to create popup form with the same ID it won’t work.

I couldn’t find proper answer form this issue so I came here. I guess the $().live method could be usefull but I have no idea how to use it on no event like “click”, “submit” etc..

Ow and to prevent other questions the page where new ajax form is loaded is located somwhere else than the page where the static form is rendered so there is no conflicts of two identical forms on the same page.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:12:19+00:00Added an answer on May 28, 2026 at 2:12 am

    I have come across this problem before. Newly added ajax content may need the triggers reinitialising. There are several approaches you can take. Below is just one of them.

    put the javasciprt bind triggers inside a function and call it after the ajax request.

    <html>
    <script type="text/javascript">
    
     // when page has loaded do the binds 
     $(document).ready(function(){
       initBinds();
     });
    
     // This is your ajax request psuedo code
     function someAjaxRequest(){
    
        // 1) do some ajax request then 
        // 2) load the data 
        // 3) after this has been done then call initBinds() 
              function to re-init new data with bind triggers
     }
    
    function initBinds()    {
       $('#someID').bind('click', function(){
         // blah blah
       })
    
    
       $('#someOtherID').bind('click', function(){
         // blah blah
       })
    
    }
    </spript>
    
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hey everyone, here is the site SEE BELOW I have a slight jquery problem
I have a slight problem. I am using a working script (works on my
I am creating a coverflow plugin but I have a slight problem when it
I have a slight problem my code works fine but it re-sizes my entire
I have a slight problem with a path: D:\\Music\\DJ Ti%C3%ABsto\\Tiesto\\Adagio For Strings (Spirit of
I have a slight problem... we made a change to our url structure the
I have a slight problem, I am trying to capture the input of two
am new here. i have a slight problem; PLease look at the following code
I've wrote this simple piece of code. And I have a slight problem with
I have two files with slight differences. A normal diff will show me the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.