keksuss Posted August 10, 2007 Report Share Posted August 10, 2007 Mēģinu uztaisīt iekš javascript'a tā, ka pirms php mainīgie ar POST tiek nosūtīti lapai, kas tos pievieno datu bāzei, izlec Confirm logs, kas prasa apstiprināt darbību! Kā varētu uzrakstīt funkciju, kas to peveic? Link to comment Share on other sites More sharing options...
Roze Posted August 10, 2007 Report Share Posted August 10, 2007 Vispār jau http://www.google.com/search?q=javascript+confirm Un tad teiksim paskatīties pirmos pāris rezultātus kautvai : http://www.shiningstar.net/articles/articl...nfirmsubmit.asp Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 10, 2007 Report Share Posted August 10, 2007 kaa jau Roze teica irstandartaconformlogs... 2 variants ir izmantot Div popupu ar 2 pogaam... kur viena nosubmito formu otra vienkarshi aizver to logu ... (taspats jau arii ir conform logaa... -------- formai neizmanto Submit pogu <input type="submit"... Bet vienkarshu <input type="button" onclick="funkcija kas izsauc conform logu".... Link to comment Share on other sites More sharing options...
andrisp Posted August 10, 2007 Report Share Posted August 10, 2007 Grey_Wolf, ar type="submit" taču arī var. Link to comment Share on other sites More sharing options...
keksuss Posted August 10, 2007 Author Report Share Posted August 10, 2007 kaa jau Roze teica irstandartaconformlogs... Tik daudz es sapratu, bet nevarēju izdomāt sīkumus + vel javascript sintakse čut čut pieklibo! Paldies, noderēja! Link to comment Share on other sites More sharing options...
Grey_Wolf Posted August 10, 2007 Report Share Posted August 10, 2007 opaa buus maajaas jatiira Klaviere --> atstarpes taustinsh nespiezjas :( andrisp --> ja var jau var ;) , Link to comment Share on other sites More sharing options...
Recommended Posts