A Pen by Captain Anonymous on CodePen.
Created
May 26, 2014 09:55
-
-
Save anonymous/676873bc46e3148b5d5b to your computer and use it in GitHub Desktop.
A Pen by Secret Sam.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script type="text/javascript" src="index.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
#sumaZaloga, #sumaNiZaloge { | |
color: blue; | |
border: 1px dotted #333; | |
padding: 2px; | |
width: 250px; | |
margin: 5px 0px; | |
} | |
#napake { | |
color: red; | |
padding: 2px; | |
width: 150px; | |
margin: 5px 0px; | |
} | |
</style> | |
</head> | |
<body> | |
<form method="" action=""> | |
<input type="text" id="ime" placeholder="Vnesi ime izdelka" /><br /> | |
<input type="text" id="cena" placeholder="Vnesi ceno" /><br/> | |
<input type="radio" name="zaloga" value="true">Je na zalogi<br /> | |
<input type="radio" name="zaloga" value="false">Ni na zalogi<br /> | |
<input type="submit" value="Pošlji"> | |
</form> | |
<div id="napake"></div> | |
<br /> | |
<table border="1"> | |
<tr> | |
<th>Ime izdelka</th> | |
<th>Cena izdelka</th> | |
<th>Zaloga</th> | |
</tr> | |
</table> | |
<div id="sumaZaloga">Znesek artiklov na zalogi</div> | |
<div id="sumaNiZaloge">Znesek artiklov, ki niso na zalogi</div> | |
<input type="button" id="ponastavi" value="Ponastavi vse" /><br /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment