I’ve got a problem where I need a simple text file that a user can change two simple values and those values are then called by two hidden input fields in an html file.
I can’t seem to get anything that works. Can you help?
@jonwinterauthorOct 07.2005 — #How would you use javascript in the text file but keeping it really simple so a user can edit two values i.e. var limit = 1000; var currentlevel = 900;
I guessing a bit here but can you show a working example if this is correct idea?
@jonwinterauthorOct 07.2005 — #Thanks for that. I managed to change the include file to a text file instead of a .js file (users can double click it and edit it in notepad) and just used var limit = 1000; var currentLevel = 100. These values were then called in the html page and written into two hidden input fields. From there everything is now working as I hoped!
Thanks for your guidance and support as I hadn't realised it was so easy to do this! Keep up the good work guys ?)