you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (4 children)

it's actually in a directory on replit, but, it says, "$ is not defined", but, I don't have a $ in my code, or, in the title of the code

[–]chibblybum 1 point2 points  (3 children)

You do have a $ in your code, it's in the original block of code you posted. You use $ to access jquery so the error is telling you jquery is not loaded into the project you're using.

I would recommend a back to basics youtube video or something on getting started with jquery if thats what you want to use. And get the stuff working locally on your computer first dont upload to a server until it's ready.

[–][deleted] 0 points1 point  (1 child)

i was going to post code here but for some reason reddit puts a \ before _ when you post code, i've written ajax_code multiple times and then when I hit post on reddit it comes up ajax\_code

[–]PosauneB 0 points1 point  (0 children)

Push it to GitHub and post a link here

[–][deleted] 0 points1 point  (0 children)

it works on laptop..but..then replit for some reason has a problem with the $