Gal kas koda paredaguoti moka

Gal kas koda paredaguoti moka
  1. Atsijungęs

    remuxs

    Narys

    Žinutės: 47

    Sveiki gal kas galite paredaguoti reikia kad pasirinkus (Vienam mėnesui 1 ) atidarytu redirect.php o pasirinkus( Dviem mėnesiam 2 ) atidarytu redirect2.php

    
    	<div class="container custom-container">
    
    		<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
    			<div class="panel panel-primary">
    
    				<div class="panel-heading" role="tab" id="bankiniu">
    					<h4 class="panel-title">
    						<a data-toggle="collapse" data-parent="#accordion" href="#apmoketi-banku" aria-expanded="true" aria-controls="apmoketi-banku">Apmokėti VIP bankiniu pavedimu</a>
    					</h4>
    				</div>
    				<div id="apmoketi-banku" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="bankiniu">
    					<div class="panel-body">
    						<form method="get" action="redirect.php">
    						<form method="get" action="redirect2.php">
    							<strong>Pasirinkite laikotarpį</strong>
    
    							<select name="galiojimas" id="galiojimas" required tabindex="1">
    								<option value="">-- Pasirinkite --</option>
    								<option value="7">Vienam mėnesui 1 </option>
    								<option value="7">Dviem mėnesiam 2 </option>
    							</select>
    
    							<input type="hidden" name="dle_user_id" value="112605">
    
    							<button type="submit" class="btn btn-default btn-pirkti">
    								Pirkti pasirinkta narystę &nbsp;<span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>
    							</button>
    
    						</form>
    					</div>
    				</div>
    
    			</div>
    		</div>

    1 Kovo 2018 - 17:33 / #1
  2. Atsijungęs

    mondolfo

    Narys

    Žinutės: 53

    Gal pritaikysi


    <html>
    <head>
    <script type="text/javascript">
    
    	function validate(nForm){
    
    		if (nForm['redirectPage'].value == "")
    			{
    			 alert('Choose from the list');
    			 return false;
    			}
    		alert(nForm['mail_redirect'].value)
    	}	
    
    </script>
    </head>
    <body>
    
    
    <form action="formmail.asp" method="post" name="form1" onsubmit="return validate(this)">
    <input id="mail_to" type="hidden" name="mail_to" value="[email protected]" /> 
    <input id="mail_redirect" type="hidden" name="mail_redirect" value="submititem1.htm" />
    <input id="mail_send" type="hidden" name="mail_send" value="y" />
    <br><br>
    <select name='redirectPage' onchange="this.form['mail_redirect'].value=this.value">
    <option value=''> Make a selection </option>
    <option value='somepage1.html'> Option 1 </option>
    <option value='somepage2.html'> Option 2 </option>
    <option value='somepage2.html'> Option 3 </option>
    <option value='somepage4.html'> Option 4 </option>
    </select>
    &nbsp;&nbsp
    <input type='submit' value="Submit">
    </form>
    
    </body>
    </html>
    4 Kovo 2018 - 17:37 / #2

Susirašinėjimai