Applet in the "add" modal window
Applet in the "add" modal window
Hi all,
I get a little problem here.
I want to use a applet in the "Add" form of my datatables. This applet goal is to get information from ID card, with my js function i can take information from the card and paste them into the correct fields of my form.
This applet/jsfunction works great on a page dedicated for that, but when i try to integrate it to my datatables, to be precise in the Add form of my datatables, it goes wrong, i explain myself:
When i click on my button "get data from idcard" who launch the js function, the modal window just close. (seems to occur when my function arrive at this line ==> [quote] retval = document.BEIDApplet.InitLib(null); [/quote]
Can someone help me with that?
Good afternoon everybody !
PS: If u need more information, just ask !
I get a little problem here.
I want to use a applet in the "Add" form of my datatables. This applet goal is to get information from ID card, with my js function i can take information from the card and paste them into the correct fields of my form.
This applet/jsfunction works great on a page dedicated for that, but when i try to integrate it to my datatables, to be precise in the Add form of my datatables, it goes wrong, i explain myself:
When i click on my button "get data from idcard" who launch the js function, the modal window just close. (seems to occur when my function arrive at this line ==> [quote] retval = document.BEIDApplet.InitLib(null); [/quote]
Can someone help me with that?
Good afternoon everybody !
PS: If u need more information, just ask !
This discussion has been closed.
Replies
I've included the app into the code of the add modal window.
Now i can get my values, see them ino correct field but just after clicking ok on my last alert() [Who marks the end of function], the modal just close without doing anything.
Anyone can help me with that?
When you say the modal window, do you mean the Editor lightbox? Can you link us to the page so we can take a look please?
Allan
I meaned the modal who open when you click on the "add" button in top-left of the Datatables.
But i solved my problem myself, my function was on a and this one submitted my form when i clicked him. And submit the form close the window !
Anyway thanks for your time !