Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
abalsh
/
Garlix
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
25f6ef6c
authored
May 02, 2019
by
Florian Shllaku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing contact/newslatter
parent
7e7b1642
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
resources/views/currency.blade.php
resources/views/currency.blade.php
View file @
25f6ef6c
...
...
@@ -9,27 +9,33 @@
<form>
<select class="
form
-
control
" id="
FormControlSelect1
">
@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
</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>
<select class="
form
-
control
" id="
FormControlSelect
1
">
<select class="
form
-
control
" id="
FormControlSelect
2
">
@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
</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>
<button class="
btn
btn
--
pill
" type="
submit
">Convert!</button>
<button class="
btn
btn
--
pill
" type="
submit
"
onclick="
myFunction
()
"
>Convert!</button>
</form>
</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>
@include('footer')
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment