tiy Posted December 26, 2006 Report Share Posted December 26, 2006 Ir forma piem <form> <input A> <input B> <submit C> </form> Ka var izdarit ta, nospiezot C, aizuta informaciju uz apstaradashanu A+B, un tad it ka uztaisa jaunu formu, kur ar hidden parametru pieshkir summu, kas aizsutas uz citu addresi (action). Sanak nospiez C un uzreizs apstrada un aizsuta automatiksi. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted December 26, 2006 Report Share Posted December 26, 2006 ja tev vajag tikai A+B tad uzreiz izveido to hiden lauku un un netaisi submit bet gan buton ... kuru nospiezjot tiek isaukta JS funkcijas kas: 1)saskaita A+B 2) ieguto vertiibu pieskjir hiden laukam 3) submito formu... ----- ja vajag lai taas A un B vertibas apstraadaa PHP tad nosuuti taas skriptam kursh izvada formu un ar JS uzreiz pie ielaades vinju submito.... tik saads variants skjiet kautkaads divains...... Link to comment Share on other sites More sharing options...
tiy Posted December 26, 2006 Author Report Share Posted December 26, 2006 Ar nevar kaut ka headera veida aizsutit ? JS nederes (soreizs nevar palauties). Link to comment Share on other sites More sharing options...
andrisp Posted December 26, 2006 Report Share Posted December 26, 2006 Bez JS nevarēs gan savādāk. Link to comment Share on other sites More sharing options...
Recommended Posts