Editor main form id.
Editor main form id.
lifedaniel
Posts: 68Questions: 4Answers: 0
Hello, for a javascript use, I need to know the name, or id of the main FORM of the editor.
Thank you very much.
Daniel
This discussion has been closed.
Answers
The Editor manual contains full information about the Editor DOM structure, including class names and IDs.
Allan
Well I need to use this script :
with the editor form.
I've modified in dataTables.editor.js
to match like this
but the script doesn't work ...
Thank you
I don't quite understand I'm afraid. You want to use your custom form inside Editor? That isn't currently possible - Editor will generate the form and it isn't possible to provide a custom form.
Allan
I want to use the "javascript" I gave you in the code with the form of the editor. Not a custom one
I don't think you would be able to use the Javascript from the above code directly. You would need to update it to use the Editor API to perform the same actions. For example you would use
node()
to get the nodes for the elements in the form to be able to perform your key handling and focus handling on them.Allan
where is the nodes() wiki or documentation please?
Apologies the function is
node()
notnodes()
. I've edited my above post.Allan