I am new programming and I was assigned to replace the showmodaldialog () in an old program with jquery dialog (), I am in a part where to execute an "Action" I used the showmodaldialog, now I use a function where the paramentros take me and the URL and run it in the Jquery dialog but in this case I have an "action" that runs inside a file called "Comun.js" and inside I have the end of the code that executes the "action" in this way:
Objeto = showModalDialog('urlAccion' + parametros);
now: (as it should be replaced)
Objeto = AbrirDialogo('urlAccion' + parametros);
this within "Commons.js"
Outside on the page I have my function in a script like:
then I would like you to help me with the function "OpenDialog ()" to send the information of the URL and the Parameters to the function that I have on my page "ActionDialog ()" how do I do that and if possible?