User:Sur/Hero Comparison: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
Created page with "<form id="inputForm"> <label for="inputValue">Enter a value:</label> <input type="text" id="inputValue" name="inputValue"> <button type="button" onclick="storeValue()">Submit</button> </form> <!-- Placeholder to display the stored value --> <p>Stored value: {{#var:storedValue}}</p>"
 
Sur (talk | contribs)
mNo edit summary
Line 1: Line 1:
<form id="inputForm">
    <label for="inputValue">Enter a value:</label>
    <input type="text" id="inputValue" name="inputValue">
    <button type="button" onclick="storeValue()">Submit</button>
</form>


<!-- Placeholder to display the stored value -->
{{#vardefine: userInput | }} <!-- Define the variable but leave it empty for now -->
<p>Stored value: {{#var:storedValue}}</p>
 
<p id="display"></p> <!-- Element where we will display the stored value -->
 
 
<button onclick="storeInput()">Enter Input</button>

Revision as of 00:08, 23 September 2024



<button onclick="storeInput()">Enter Input</button>