Comments (4)
This code is used to reset form fields once the user press cancel button (so
blank form can be shown next time he opens add dialog). I have tried it in
several browsers and it worked fine. Without this line if you populate fields,
press cancel, and add button again you will see all fields you entered in the
previous dialog.
Issue you have reported is strange because reset() is a standard function for
reseting forms. Could you see in the firebug is the $(oAddNewRowForm)[0]
standard form element? In all my examples it is a frm and therefore it works
fine.
Could you try to take the latest version of plugin I have slightly changed this
code (reseting form is moved before dialog close maybe this is problem in your
browser).
Regards,
Jovan
Original comment by [email protected]
on 11 Jun 2011 at 8:57
- Changed title: Add form reset() method breaks on cancel in IE and FireFx
from jquery-datatables-editable.
Hi,
I'm sorry, I made a error using a 'div' instead of a 'form' as sAddNewRowFormId
dom element. I think this is the cause of the problem.
Perhaps a control could be done to avoid this kind of misuse ?
Thanks for your answer.
Original comment by [email protected]
on 11 Jun 2011 at 2:16
from jquery-datatables-editable.
I'm not sure about this check because I'm trying to put minimal number of
constraints related to the HTML structure.
In the future maybe form will be required tag but maybe it will not be required
at all I have still not choosen the road map for this.
Currenly I'm assuming that stucture is created according to the examples/wiki
pages.
Regards,
Jovan
Original comment by [email protected]
on 11 Jun 2011 at 7:20
- Added labels: Type-Other
- Removed labels: Type-Defect
from jquery-datatables-editable.
Original comment by [email protected]
on 17 Jun 2011 at 7:35
- Changed state: Done
from jquery-datatables-editable.
Related Issues (20)
- issue with inline delete redrawing with pagination, only 1st page worksrest ( including searches ) do not redraw table
- Not compatible with jquery higher than 1.9
- Add new row: after first insert, the Cancel button not shown
- Error on Deleted Row
- Only first page of mult-page table is editable. HOT 1
- Delete Button problem HOT 2
- makeEditable() is undefined HOT 1
- Unable to customize buttons HOT 1
- How I can make Editable more of one table
- Patch for /trunk/media/js/jquery.dataTables.editable.js
- Editing AJAX sourced data in the popup window
- Patch for /trunk/media/js/jquery.dataTables.editable.js
- Delete behaving as Post call
- Refresh the table after delete a record
- Refresh the table after delete a record HOT 1
- Missing images for demo_table.css HOT 1
- vgfdzvfz
- editable with responsive HOT 1
- makeEditable() on two tables in the same page HOT 1
- sNewCellDisplayValue is undefined. Typo in variable declaration
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 jquery-datatables-editable.