How to edit an already existing text document using jQuery? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

How to edit an already existing text document using jQuery?

En: Are there any ways to write/edit an already existing text document using jQuery from the input stored on different variables on the script tag on an HTML document? Please help! Thanks 😊! Ro: Exista vreo metoda sa editezi/scrii intr-un document text deja existent folosind jQuery cu input-ul pastrat in niste variabile in tag-ul script dintr-un document HTML? Edit: I have an website with a script tag that is storing some user input from the site on some jQuery variables and is creating a text document with it that is being downloaded on the browser after you click on a button, but I want to make it access and rewrite another already existing text document w/out creating and downloading one. Ty! I will leave soon a photo with the code if needed. Btw if you don't know how to do it, please, at least upvote! It's urgent!

17th Jun 2019, 5:59 AM
Asan Denis-Claudiu
Asan Denis-Claudiu - avatar
1 ответ
+ 6
No, you can't use jQuery to change file contents.
17th Jun 2019, 6:03 AM
Calviղ
Calviղ - avatar