0
How Can I append Elements to Sololearns JS Engine
I made this JS Code using Classes and Inheritance And Other stuff Spent a good bit of time on it But Solo learn is preventing it from working The "getElementById" is null Thiss is reallly tuff Need Help https://code.sololearn.com/WZ3uSn91FGRl/?ref=app
2 ответов
+ 1
you had a jquery error in line 259.
but I see that you fixed it
+ 1
Justtt Fixed It
Before I was using document.getElementById ("id").innerHTML = value
However that produces a null error here but not in usual browsers
While going through the JQuery Course However
I noticed I can do
$("#id").html (value)
Which works like a charm