I am having an issue with GMAIL SMTP in a C# program Programming Software Development by complete … item in the list on https://www.likablelogic.org/cs_email_program_with_gmail.html is the tutorial I used. After I try to find… Re: I am having an issue with GMAIL SMTP in a C# program Programming Software Development by rproffitt There are many traps and pitfalls to using gmail. So many that you should be aware going in and I can't possibly write about all of the traps. Find the article "Sending emails using Gmail in C# On February 01, 2024 by Dzenana Kajtaz Technical Content Writer @Mailtrap" because from my reading it looks complete and not out of date. Good … Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani ….asp?filename=tryhow_js_countdown), and put it into an HTML page, you can build your own timer. Alternatively… on the www, as so: timer.html: <!DOCTYPE HTML> <html> <head> <…;></p> </body> </html> countdown.js: *Everything within <script>… Re: I'd like to create a js for a dynamic location Programming Web Development by toneewa Maybe something like this: <!DOCTYPE html> <html lang="en"> <… }); </script> </body> </html> My first thought was the function name was the… same as the keyword fetch. <!DOCTYPE html> <html lang="en"> <head&… Re: I'd like to create a js for a dynamic location Programming Web Development by toneewa ….then(json => { $('#location').html(`${json.City}, ${json.State}`); }) .…{ console.error('Error:', error); $('#location').html('Failed to retrieve location'); }); }); &… Re: I'd like to create a js for a dynamic location Programming Web Development by toneewa …following works. JQuery is needed. <!DOCTYPE html> <html lang="en"> <head>…: "unBounce" }); }); // Ready function unBounce(json){ $('#location').html(json.City + ", " + json.State); } </script… Re: I'd like to create a js for a dynamic location Programming Web Development by toneewa … libraries? Another solution. <!DOCTYPE html> <html lang="en"> <… to retrieve location'; }); } }); function unBounce(json) { $('#location').html(json.City + ", " + json.State); } <… Re: JS SCRIPT NOT RUNNING Programming Web Development by toneewa … the page reference source to the html [document](https://toneewa-wixsite-com.filesusr.com/html/085832_1ca667945d2ebf26ec45de33a92a122d.html), where the code is placed. ![timer… Lost in the ‘Twilight Zune’: Scary Tech Tales That Will Haunt You Community Center by Johannes C. … arrow” incidents](https://www.atomicarchive.com/almanac/broken-arrows/index.html) (= accidents involving nuclear weapons) have been recorded by the U… JS SCRIPT NOT RUNNING Programming Web Development by alexxx1 … page in w3spaces and while I've finished editing the html and css part, I'd like to add a few… I'd like to create a js for a dynamic location Programming Web Development by alexxx1 …", jsonpCallback: "unBounce" }); }); // Ready function unBounce(json){ $('#location').html(json.City + ", " + json.State); } </script> Followed… Re: Lost in the ‘Twilight Zune’: Scary Tech Tales That Will Haunt You Community Center by Reverend Jim A friend of the family (friend of my parents) was one of the people who got dosed in the MKULTRA program. Re: Lost in the ‘Twilight Zune’: Scary Tech Tales That Will Haunt You Community Center by Reverend Jim With me? No. She and her husband were much older. But she obviously did with my parents because I recall them mentioning that she had had problems for years after. Re: Lost in the ‘Twilight Zune’: Scary Tech Tales That Will Haunt You Community Center by Johannes C. > With me? No. She and her husband were much older. But she obviously did with my parents because I recall them mentioning that she had had problems for years after. That's a lot to deal with. Besides the psychological damage, it must have been so difficult for MKUltra-victims to convince people of their story before the files got released in… Re: JS SCRIPT NOT RUNNING Programming Web Development by alexxx1 The first option actually worked and thank you for that, but why doesn't it run with a link to the .js path? I wouldn't like to include all my codes to my main page Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani It should run with a link to the .js file. You just need to then also upload the JS file :) How to do that was my second option. Re: JS SCRIPT NOT RUNNING Programming Web Development by alexxx1 ![Untitled.png](https://static.daniweb.com/attachments/5/595bf88aad42861f5a26514d93c220ac.png) Could you kindly check? Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani You can see that the countdown.js file has the little squiggle red underline on lines 27, 28, and 29, indicating that there's some type of syntax error there. The problem is that you have a typo on line 26. It should not be `distance < /> 0`. You also have a red squiggle on line 10 because the close bracket you have on line 7 shouldn't … Re: JS SCRIPT NOT RUNNING Programming Web Development by alexxx1 You are right. But now I copy and pasted the code from the live demo (https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_countdown) and still nothing worked Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani Please show me your code. You must be doing something wrong still. Re: I'd like to create a js for a dynamic location Programming Web Development by Dani What happens when you just go to the URL https://api.snoopi.io/check?apikey=MY API KEY ? Does the API correctly provide your location in JSON format? Re: I'd like to create a js for a dynamic location Programming Web Development by alexxx1 Yes it does! :) Re: I'd like to create a js for a dynamic location Programming Web Development by Dani Can you please share a public link to a URL where you are testing/using it so that I can investigate further? Re: JS SCRIPT NOT RUNNING Programming Web Development by alexxx1 ![a.png](https://static.daniweb.com/attachments/5/4c87a1dcdee943a1a285e165317b2ee4.png) ![b.png](https://static.daniweb.com/attachments/5/fdbf53142eecbfa73e3a18434c4c2abc.png) Re: I'd like to create a js for a dynamic location Programming Web Development by alexxx1 I'm working on spaces.w3schools .com Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani I'm sorry. I wasn't near my computer over the weekend. It's really impossible to debug what's wrong with your code when all I'm seeing is a screenshot of a portion of it. For example, it might be CORS that is causing it to not work, but there's no way of investigating that without actually checking the HTTP headers of the actual URL. Please … Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani ... In other words, we already see it works at the live demo at https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_countdown There has to be something on your website that is causing the javascript to break, but without actually seeing your website, there's no way to diagnose the issue. It's like saying that your lights don't turn … Re: I'd like to create a js for a dynamic location Programming Web Development by Dani What I mean is, can you please provide the URL on spaces.w3schools.com, so that I can see if maybe it's a CORS issue that is causing the problem. (That's my best guess as to what the problem is, but if I can check out the URL, I can investigate further.) Re: I'd like to create a js for a dynamic location Programming Web Development by Dani Unfortunately a bug was preventing alexxx1 from posting. He messaged me: > Btw the location js is resolved. I needed to add fetch() I'm honestly confused where he needed to add fetch()? Re: I'd like to create a js for a dynamic location Programming Web Development by Dani That's only if he chooses not to use jQuery.