Comments (3)
Hello! Why not? I use this button with activeform. Try to delete the form action here:
<?php $clubForm = ActiveForm::begin([
/*'action' => Url::to(['club/ajax-create']),*/
]); ?>
also, maybe the server doesn't succeed to make in time the execution of the ajax request?
from yii2-ajax-submit-button.
Hi! Thank you for your answer. Sorry, the action was only added for testing purposes, the described behaviour also happens if the section is not there.
At the current stage in development, the server is running local on my laptop, and the request is a simple creation of one new database entry - this should not be the issue. For the moment, I just created a button and a few lines of JS myself, and this works - however I will try this extension again and provide further details. I cannot give an exact point in time, though.
from yii2-ajax-submit-button.
Now its working with ActiveForm (including client validation)
Please see 00a41eb
from yii2-ajax-submit-button.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-ajax-submit-button.