From RuneGlory
Line 25: | Line 25: | ||
<td>Your firemaking XP</td> | <td>Your firemaking XP</td> | ||
<td> | <td> | ||
− | <input type="text" id=" | + | <input type="text" id="curxp" name="skill-xp" placeholder="Your XP.."> |
</td> | </td> | ||
<tr> | <tr> | ||
<td>Target XP</td> | <td>Target XP</td> | ||
<td> | <td> | ||
− | <input type="text" id=" | + | <input type="text" id="tarxp" name="skill-xp" placeholder="Target XP.."> |
</td> | </td> | ||
</table> | </table> | ||
+ | |||
+ | <script> | ||
+ | function myFunction() { | ||
+ | var x = document.getElementById("curxp").value; | ||
+ | document.getElementById("demo").innerHTML = x; | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <button onclick="myFunction()">Calculate!</button> | ||
+ | |||
+ | <p id="demo"></p> | ||
<table> | <table> |
Revision as of 18:44, 18 January 2018
Test page from Cypher to make the build-in XP Calculator
Test Firemaking Tables:
Your firemaking XP | |
Target XP |
Amount required | Name | Level | XP |
Dynamic input |
![]() |
1 | Dynamic input |
Dynamic input |
![]() |
15 | Dynamic input |
Dynamic input |
![]() |
30 | Dynamic input |
Dynamic input |
![]() |
45 | Dynamic input |
Dynamic input |
![]() |
60 | Dynamic input |
Dynamic input |
![]() |
75 | Dynamic input |