Giter Club home page Giter Club logo

Comments (16)

orefalo avatar orefalo commented on July 23, 2024

no idea, we fixed the ajax demo yesterday. If you didn't get the master (2.0) chances are the code is buggy.

from jquery-validation-engine.

MikeNGarrett avatar MikeNGarrett commented on July 23, 2024

I can confirm the demo is working.

beforeCall is being called, but the submission script is throwing the following errors:
TypeError: Result of expression 'json' [null] is not an object.
ajaxSubmitFormFailed to load resource: cancelled

This is probably because there isn't a handler for the ajax submission.

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

I can't reproduce this issue, could you provide instructions on how to reproduce it ?

from jquery-validation-engine.

MikeNGarrett avatar MikeNGarrett commented on July 23, 2024

On demoAjax.html the form is trying to submit to ajaxSubmitForm, which it cannot find.

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

Mike, please provide more details... how did you get to demoAjax.html ? http ? or file ?

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

Just hope you followed these instructions:
unning the Demos

Most demos are functional by opening their respective HTML file. However, the Ajax demos require the use of Java6 to launch a lightweight http server.

Run the script runDemo.bat (Windows) or runDemo.sh (Unix) from the folder
Open a browser pointing at http://localhost:9173

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

"http. I viewed it in safari." -> please be precise... are you double clicking demoAjax.html or opening http://localhost:9173/demoAjax.html

from jquery-validation-engine.

MikeNGarrett avatar MikeNGarrett commented on July 23, 2024

I totally missed the above instructions. Sorry to waste your time. Thanks for the quick response.

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

I knew it...
RTMF man.

from jquery-validation-engine.

MikeNGarrett avatar MikeNGarrett commented on July 23, 2024

I read the documentation before the setup. I'm a dumbass.

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

no worries, it happens.. actually we should probable add a RED blinking msg in the ajax page. We are getting a lot of these issues lately...

from jquery-validation-engine.

MikeNGarrett avatar MikeNGarrett commented on July 23, 2024

Understood.

I might have a real issue for you soon. I'm working on using VE for an ajax form submit. It's not going smoothly, but that might be on my end.

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

plz provide a unit test, or better... a fix ! ;-)

Sincerely,

from jquery-validation-engine.

WilkinsLeung avatar WilkinsLeung commented on July 23, 2024

Hay guys,

I can't still get it to work because of some reason. My code doesn't trigger the Ajax method in the class. Can I have the previous version of the validation.js file?
Does it work with jQuery1.4.4?

Thanks

Cheers,

Wil

from jquery-validation-engine.

orefalo avatar orefalo commented on July 23, 2024

Wil, all versions are in Git. It should work with 1.4.4, did you try the ajax demo.

Make sure you get the master.

from jquery-validation-engine.

WilkinsLeung avatar WilkinsLeung commented on July 23, 2024

Hi orefalo,

The version 1.7.3 is working perfectly in my code.
Thanks for your help

Better stick with the stable version ...

Cheers,

Wil

from jquery-validation-engine.

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.