![]() in it.Īdding to your suggestion…names for widgets, and events and macros to interact with this widgets. ![]() This is a wish, it doesn’t work and I need to put _parent etc. In general I would expect that I could use sc_redir where I could use the iframe like : sc_redir(myapp,mypars,‘id-iframe-widget1’) It still has the disadvantage I have to find out the iframe name in the generated form but… So press static, i show the static dossier of the selected patient, press dynamic, i show the dynamic dossier of the selected patient. ![]() I found out that just using variables not always do the job and sometimes you need to pass them directly using the url or within the sc_redir. I also need to send some parameters to this dossier like the patient id. Depending on the press of the button I want the second column to feed with the selected application. In the left i have static data about a patient and two buttons: static dossier and dynamic dossier. Simple sample: I have a container with two columns. There are thousands of power users of the jQuery library and an immense community wich probably have the answer for every base thing you might need with JS. Parent.$('#id-iframe-widget1').attr('src', './control/control.php?test=abc') ("id-iframe-widget1").src='./control/control.php?test=abc' URL or an application that be redirect to when exiting the Form application. How the link will open (Open in the same Window, Open in another Window, Modal ). Configuring the properties for the link button when the destined application is a Form. your script uses an id / object that don’t exists). Enable the navigation button (First, Back, Next and Last) in the Grid. If you do something wrong in javascript, it stops the execution of script, jquery validates most simple erros of javascript and let the script continue. Scriptcase already import it in the generated applications. I’ll let you know the progress.Īlbert, when you decide to read something about javascript I recommend you to skip pure javascript. I’ll try to create a small concept, pehaps a demo app if it works. But it’s clear I need to put more time into this. Point is that I’m not a javascript guru and so far I tried to keep as far away as possible. It should change the iframe to a dynamic scriptcase module, but I want to display it first to see if the concept works.īut I must be doing something wrong here… So I added the following code to the oninit event:Įcho 'function disp_a(xfrm,xuri) ' My purpose is to refresh the first IFrame when the user changes the selection in the second IFrame application. The first IFrame shows the current time and it changes on every click. I created a javascript button and added the following code to it: I put a control in container 1 and a form in container 2. Ok, a question for the javascript guys I guess.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |