andrisp Posted October 26, 2005 Report Share Posted October 26, 2005 varbuut izklausaas murdziigi un nevajadziigi, bet man lapaa ir 3 formas.. katrai savs input un katrai savs submit.. tas taaka buutu saprotams .. un ir veel viena forma vispaar bez submit pogas, bet kas satur vienu checkbox.. vajadzeetu taa lai, apstiprinot jebkuru no shiim trijaam formaam, tiktu arii apstiprinaata arii 4urtaa forma. vai vispaar var divas formas vienlaiciigi submitot ? paldies Link to comment Share on other sites More sharing options...
ABS Posted October 26, 2005 Report Share Posted October 26, 2005 vai vispaar var divas formas vienlaiciigi submitot ? 25469[/snapback] Vai var divas submit pogas vienlaiciigi nospiest? Link to comment Share on other sites More sharing options...
andrisp Posted October 26, 2005 Author Report Share Posted October 26, 2005 Vai var divas submit pogas vienlaiciigi nospiest? 25470[/snapback] javascripts mosh var :).. nez, taapee jau jautaaju varbuut var uztaisiit taa, ka submitojot kaadu no taam triim formaam, javascripts nolasa veertiibu no taas ceturtaas formas un padod liidzi submitotajai formai.. tikai kaa lai padod ? Link to comment Share on other sites More sharing options...
Grey_Wolf Posted October 26, 2005 Report Share Posted October 26, 2005 2 formas submitot vienlaiciigi nevar :( bet var meginaat dariit taa : izmantot ... button=1 onclick="apstraade" un JS skriptu... if buton==1 submitojam 1 un 4 formu... utt... Vai uztaisiit katraa formaa hiden lauku.. un pie submita parbaudiit vai tajaa 4 formaa tas kjeksis ir vai nav ja ir tad taa hiden lauka Value pamainiit un tad submiteet P.S. nesmu parliecinaats ka tie varinti straadaas bet var meginaat Link to comment Share on other sites More sharing options...
andrisp Posted October 26, 2005 Author Report Share Posted October 26, 2005 2 formas submitot vienlaiciigi nevar :(bet var meginaat dariit taa : izmantot ... button=1 onclick="apstraade" un JS skriptu... if buton==1 submitojam 1 un 4 formu... utt... Vai uztaisiit katraa formaa hiden lauku.. un pie submita parbaudiit vai tajaa 4 formaa tas kjeksis ir vai nav ja ir tad taa hiden lauka Value pamainiit un tad submiteet P.S. nesmu parliecinaats ka tie varinti straadaas bet var meginaat 25472[/snapback] pirmais variants imho tieshaam nedarbosies, jo kaa pats teici - divas formas vienlaiciigi nevar.. bet otrais gan izskataaas, ka buus iistais :) liels paldies Link to comment Share on other sites More sharing options...
Delfins Posted October 26, 2005 Report Share Posted October 26, 2005 katrai formai veidot savu iframe. Un submitot uz to... target="iframe_name" Kur problēmas ? Link to comment Share on other sites More sharing options...
bubu Posted October 26, 2005 Report Share Posted October 26, 2005 A kur problēmas to čekboksi ielikt vajadzīgajā formā (vai nu vispār, vai tieši pirms sobmitošanas) Link to comment Share on other sites More sharing options...
andrisp Posted October 26, 2005 Author Report Share Posted October 26, 2005 "A kur problēma"..? kas jums taa par interesanu atbildeeshanas veidu ? logjiski, ka droshi vien nav nekaada probleema. Link to comment Share on other sites More sharing options...
Analgiins Posted October 27, 2005 Report Share Posted October 27, 2005 tas ir uzbraucoshais atbildeeshanas stilinjsh, sheit diezgan izplatiits :) Link to comment Share on other sites More sharing options...
andrisp Posted October 27, 2005 Author Report Share Posted October 27, 2005 tas ir uzbraucoshais atbildeeshanas stilinjsh, sheit diezgan izplatiits :) 25576[/snapback] nee nu sapratu, tikai nesaprotu prichom Link to comment Share on other sites More sharing options...
[Ya] Posted October 27, 2005 Report Share Posted October 27, 2005 <form method='post' action='/path/to/action' onsubmit="document.getElementById('forma2').submit();"> šitam teorētiski vajadzētu strādāt bet praktiski, es šaubos, jo formas submitošana reloado Page, attiecīgi ko tu varētu izdarīt (lai tas praksē arī strādātu) ir tā, ka tu abām formām savieto vienādus laukus, tos kas ir formā viens saliec formā 2 kā hidden laukus, un tos kas formā 2 tos formā 1 kā hidden laukus, attiecīgi pie SUBMIT iedarbini javascript, kurš no vienas formas pārnes datus uz otru un submito formu ! Link to comment Share on other sites More sharing options...
andrisp Posted October 27, 2005 Author Report Share Posted October 27, 2005 paldies par padomiem, bet izdomaaju atteikties no shaadas formas.. bet gan jau kaadreiz noderees :) Link to comment Share on other sites More sharing options...
Recommended Posts