mirror of
https://github.com/silicoflare/silicoflare-website.git
synced 2026-05-26 20:17:58 +05:30
bbb
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
</form>
|
</form>
|
||||||
<br><br>
|
<br><br>
|
||||||
<h3>Copy your code from here:</h3>
|
<h3>Copy your code from here:</h3>
|
||||||
<button type="button" onclick="copy"
|
<button type="button" onclick="copyCode()">COPY</button>
|
||||||
<div id="code">
|
<div id="code">
|
||||||
Enter all values and click 'Submit'
|
Enter all values and click 'Submit'
|
||||||
</div>
|
</div>
|
||||||
@@ -60,6 +60,11 @@
|
|||||||
var count = 0
|
var count = 0
|
||||||
var finalCode = ""
|
var finalCode = ""
|
||||||
|
|
||||||
|
function copyCode() {
|
||||||
|
navigator.clipboard.writeText(finalCode);
|
||||||
|
window.alert("Copied to clipboard!");
|
||||||
|
}
|
||||||
|
|
||||||
function delValue(num) {
|
function delValue(num) {
|
||||||
var divi = document.getElementById("value"+num);
|
var divi = document.getElementById("value"+num);
|
||||||
divi.remove();
|
divi.remove();
|
||||||
|
|||||||
Reference in New Issue
Block a user