Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Currently, In my HTML I have a set of code that outputs "RunningBot: 10000" when the HTML file is opened in chrome. The HTML gets the "1000" from The JavaScript. I was wondering how I could possibly add a text box & Button that would let people change the "10000" to whatever they want Eg. "99999". And itl change the numbers "10000" in javascript as well. so when the links opened again it opens with the changed numbers.
I add the button/textbox into the HTML file but it doesn't change the numbers when the links opened. it simply opens to the old one.

What I have tried:

Html textbox/button
Simply doesn't work for some reason.
Only changes it userside. But if i inspect element and change the link ID itl work.
Posted
Comments
Patrice T 5-May-18 1:27am    
And you have some code ?
Member 13812396 5-May-18 14:00pm    
yes. the code works. but i compile the html/js into an exe. which will allow people to change the "10000" id if i could figure out how to change the code from the html file using textbox/button to the Js file.
Kornfeld Eliyahu Peter 6-May-18 15:43pm    
And how exactly that exe comes to the end user?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900