Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Triggers and javascript

phpMyEdit General     Triggers and javascript
Odoslať novú tému   Odpovedať na tému    
 
KarelB     Založený: 01.06.2007   Príspevky: 24  
Príspevok Zaslal: 2009-04-27 16:59
Návrat hore  Odpovedať s citátom     

All,

I have the following problem.
When I go from the list mode into the view or edit mode I want a window to popup with a little form to make digital notes.

So i defined a pre trigger with the following code:
Kód:

<?php
echo '<script> myPopUp = window.open(...);</script>';
?>


This works fine.
But if I want to save my result i want that popup to close.
So I defined an after trigger with the following code:
Kód:

echo '<script> myPopUp.close()</script>';


And that does not work. The trigger does not recognize the javascript variable myPopUp.
Anybody knows if this can be resolved.

Cheers

Karel

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov