Skip to content

Tag: jquery

How to save logs to a text file using JavaScript

I am making a website, and I have Javascript code located directly in the HTML with the script tags. I want to log the IP addresses to a blank text file located in log/logfile.txt. I have a script to capture the time and IP address of the user, and here it is: I want to write to the log file

how to add loading.. on ajax response

i have loading html css code as i pasted here,now in my ajax response Now Loading: Please Wait i want to replace it by custom html css loading page, how can i do this? Answer You can change the $modal.html(‘your text’) with the loader’s HTML. See the snippet below. I have added .loader-conta…