Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

javascript

  1. IMMaximum

    HTML & CSS Ideas For Gaming Website

    So this is a post where I do and I don't need help. I have been creating a website for my Programming 2 class using AI per his instructions, and it went well. The project has come to an end, but I still want to work on it because I find coding interesting. I have a couple questions that I want...
  2. IMMaximum

    Best Way To Learn HTML, CSS, and JavaScript?

    So I am currently using a website called CodeCademy to learn more coding skills, and it is kind of going good, I am just wondering are there any other ways to learn coding. Specifically HTML, CSS, and JavaScript? It doesn't have to be online, I just want to know the best way. I am mostly asking...
  3. IMMaximum

    ChatGPT and Coding Problems

    So since I don't personally use JavaScript, CSS, and HTML to make code, I had to use ChatGPT to write the code for me. I was coding this on Replit, as per the instructions I was given, but I ran into some problems with my website. I went to ChatGPT to help me, and many other AI Models, but they...
  4. H

    JavaScript Free memory of HTMLVideoElement

    Hello there! I have a page with a lot of videos, so memory is a concern. Because of that, I have implemented an Intersection Observer that removes the videos that are out of the viewport. This is the instruction: video.remove(); Where 'video' is an HTMLVideoElement. Will that instruction be...
  5. irfanjamal

    JavaScript How I can adjust the string output in JavaScript and give a sequence

    I need help, I am using Javascript code to detect Radios, TextInputs and Text Area fields and push the detetcted values from field to a sequence in a input field. I've given each field a id with sequence, name1, name2, name3, name4, name5, name6, name7, name8, name8, name10, and name11 and the...
  6. accol

    JavaScript Model validation error when using Fetch or Axios despite returning a status 200 in the backend?

    Thank you to anyone who reads and replies to this. I do not know what I'm doing wrong by this point. I've been trying to connect the React.js frontend to my ASP.NET Core backend. I've tried both Fetch and Axios and I've been getting the same error each time, however it doesn't make sense to me...
  7. H

    JavaScript Help me to auto replace and display image hosted in Google Drive

    I have an id "content", it contains many images Google Drive URLs. So, I have match all URLs and replace them with clickable link. Here is my code $(document).ready(function(){ function replace_content(content) { var exp_match =...
  8. W

    JavaScript How to set, and then update a Datetime updated field?

    Hi forum, I'm using Bootstrap studio 5.3 and currently have a form with 23 fields on it. It's a form a user can save progress on and come back to at a later time or date, so there is a "Date Updated" field that is a read only datetime picker. As of now, I can get the Date Updated field to...
  9. accol

    JavaScript How to animate input placeholder text shaking in React using Framer Motion

    Thank you for reading. I'm trying to figure out how to make each letter of the placeholder username and password text either shake or animate in a wavy motion, however if you type in words the placeholder would disappear and stop animating as typical. I was using Framer Motion & React: Wavy...
  10. JosiahMaybe

    Ubuntu code testing/debugging maybe

    Okay so I am trying to run/debug some libraries on Ubuntu. I can't get VS Code. I have code in Ruby (I can debug via "ruby name.rb"), Kotlin, Swift, and Javascript. I found some online compilers but there are limits to those and terms. I could probably just HTML page a JavaScript and debug that...
  11. Samantha Groves

    JavaScript HTML canvas isnt working properly(I cant draw anything on the screen)

    Hello I have this code and it is supposed to be a drawing app with the ability to choose between up to 3 colors: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Draw a picture</title> </head> <body> <script> let color = ""; let mouseDownVar = 0...
  12. Y

    JavaScript document.body.textContent with replace or replace all

    Hi Guys, Could you please help me to use document.body.textContent in console log on a website? For example I want to change this format of 4.500,00 to 4,500.00 or 4500.00? How is it possible in this way i.e on this site EuroDreams auf win2day - die Spieleseite der Österreichischen Lotterien|...
  13. D3x73r

    JavaScript Shopping cart problem -localstorage

    Hello guys, I cant find problem why my javascript isnt working. Problem is I think with localstorage, when I reload webpage content in cart-box should stay there but it only save first content-box that I added to cart, others disappear but their value like $ stay in total amount . And other...
  14. F

    JavaScript Coding starter here: What are your ideas/knowledge/advises to improve my basic Dijkstra Algorithm game !?

    You can already play in browser and its pretty basic but i lack inspiration and knowledge to improve it. To make it more interactive, more fun and interesting. What are your ideas/thoughts? Next step for me is to implement an I/O of the priorty queue and their weights for the User so he inputs...
  15. miabianco

    Node.JS Help with kurento example

    Hello to all noob here!!! I am working an old example of kurento and i am wondering if anyone can help me. First of all this working just fine as is. I make some changes in the code so with the Join button to join the room and with a call button to make a call and with leave button to leave...
  16. JosiahMaybe

    JavaScript Is there any way to prevent Javascript changing things without site permission?

    So I may have worked out a secure way to sell except that in like my site hackers may be able to bypass like my selling logic. I would do custom country check in Javascript using navigator.geolocation, prefill paddle.com checkout with Javascript. paddle.com checkout starts in Javascript and...
  17. I

    How do I display the new comment in the comments section when added and still keep the submission ajax code?

    My code is below: $commentsQuery = "SELECT username, created_at, content FROM comments WHERE post_id ={$row['id']} ORDER BY created_at DESC"; $commentsResult = mysqli_query($con, $commentsQuery); $commentsCount = $commentsResult->num_rows; if ($commentsCount > 0) { echo "<details>...
  18. K

    JavaScript How to add some tags by default

    I want to some tags by default witch show up time of open the page. This code normally working fine as add tags but when I trying some tags default such as java, html, php etc then code normally working but no show up default tags. Below is my code, please advice me how to do const removeTag =...
  19. Akhter

    JavaScript Sum textbox value with Gridview Column of Credit

    i want to sum Textbox(txtamount) value with Gridview Column Credit value,and display in footer. $(function () { CalculateDebitCredittotal() }); function CalculateDebitCredittotal() { var creditTotal = 0; var debitTotal = 0; $("[id*=gvtrans]...
  20. T

    JavaScript Patch Http request is not working

    I've been trying to use the http requests to update a status of a car, so that it will for example go from 'pending' to 'canceled'. I am using patch because I do not want to update all data but only statusId. But what is strange, is that it deletes the car, and I do not get any errors. Why, as...
Back
Top Bottom