Commit 25f6ef6c by Florian Shllaku

testing contact/newslatter

parent 7e7b1642
Showing with 14 additions and 8 deletions
...@@ -9,27 +9,33 @@ ...@@ -9,27 +9,33 @@
<form> <form>
<select class="form-control" id="FormControlSelect1"> <select class="form-control" id="FormControlSelect1">
@foreach ($currencies as $item) @foreach ($currencies as $item)
<option class="color" value="{{ $item->ID }}">{{ $item->name }} - {{ $item->iso }}</option> <option class="color" id="first" value="{{ $item->rates }}">{{ $item->name }} - {{ $item->iso }}</option>
@endforeach @endforeach
</select> </select>
<input type="number" class="form-control form-control-lg mx-3" value=""> <input type="number" id="num" class="form-control form-control-lg mx-3" value="3">
<br> <br> <br> <br>
<select class="form-control" id="FormControlSelect1"> <select class="form-control" id="FormControlSelect2">
@foreach ($currencies as $item) @foreach ($currencies as $item)
<option class="color" value="{{ $item->ID }}">{{ $item->name }} - {{ $item->iso }}</option> <option class="color" id="second" value="{{ $item->rates }}">{{ $item->name }} - {{ $item->iso }}</option>
@endforeach @endforeach
</select> </select>
<input type="number" class="form-control form-control-lg mx-3" value=""> <input type="number" id="rez" value="" class="form-control form-control-lg mx-3" value="">
<br> <br> <br> <br>
<button class="btn btn--pill" type="submit">Convert!</button> <button class="btn btn--pill" type="submit" onclick="myFunction()">Convert!</button>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
<script> <script type="text/javascript">
var value = document.getElementById("num").value;
var first = document.getElementById("first").value;
var second = document.getElementById("second").value;
function myFunction() {
rez = valuesecond;
alert(rez);
}
</script> </script>
@include('footer') @include('footer')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment