Comments (7)
For reference:
https://stackoverflow.com/questions/4007942/
https://stackoverflow.com/questions/17566315/
It doesn't make sense for either FormData
or $.fn.serialize
to include that information because those methods can be called at any point in time inside or outside of a click event. that key/value pair has to be added manually.
from eldarion-ajax.
Do your buttons have name attributes?
from eldarion-ajax.
Yea - if I remove the ajax class it works fine, also.
<button class="button is-primary is-outlined next" name="button_action" type="submit" value="tweet">
<span class="icon">
<i class="fa fa-twitter"></i>
</span>
<span>Tweet</span>
</button>
<button class="button is-info is-outlined next" name="button_action" type="submit" value="save">
<span class="icon">
<i class="fa fa-save"></i>
</span>
<span>Save</span>
</button>
from eldarion-ajax.
I've tried it as <input ...>
fields, too.
from eldarion-ajax.
Hm...
I just use FormData or jquery’s serialize to capture all the values. I’ll need to read about/dig into those APIs and figure out what’s happening.
from eldarion-ajax.
ok, thanks for your help
from eldarion-ajax.
@tentonaxe thanks for that link. i was just coming back here to post something similar.
I wonder if #81 would allow you to then set hidden inputs.
from eldarion-ajax.
Related Issues (20)
- how to use Bootstrap Ajax spinner for load contents? HOT 1
- CAUTION:Provisional headers are shown HOT 2
- how to validate a form with javascript before eldarion submits
- Submitting form using onchange="this.form.submit()"
- Stop execution on disabled state HOT 1
- Keep dropdown open when clicking on <a> HOT 1
- some design questions HOT 1
- Trigger Event on Page Load?
- Problems using with Foundation 5? HOT 2
- Required jQuery version? HOT 2
- eldarion-ajax:modify-data started bubbling
- Make fragments replace the inner content HOT 1
- please make work on html5 <button /> HOT 1
- Documentation suggestion HOT 1
- Demo not working HOT 2
- Rewrite Goals HOT 1
- Give the possibility of working with HTML only HOT 2
- Add support for triggering via onChange
- Some examples please
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 eldarion-ajax.