+ 1
jQuery append() ....is it permanent or just untill html page is refreshed
Currently if I use it with NetBeans and it works but if i refresh it's back to normal
3 ответов
+ 2
Don't forget that js runs client-side, you can't expect dynamic changes made via js to be permanent. You would at least need to send data to the server for that (or use sessionStorage/localStorage if you only need to store the data client-side for some reason), and then either use php to modify dynamically the page served (provided data was sent to the server), or run the js using that data each time the page is requested. I'm unsure of what you are trying to do exactly, but I think that should answer your question.
tl;dr Make the changes server-side with PHP rather than client-side with js if you want them to be permanent.
0
I was looking to create a client feed back form which updated the html permanently for all to see
0
Paste your html file link directly to web browser address bar. Maybe your netbeans has setting problem.
You dont provide your code, so hard to give a right answer here.