JavaScript inquiry

3 Antworten [Letzter Beitrag]
muhammed
Offline
Beigetreten: 04/13/2013

Hi gang,

I'd like to make a table look-up thing on my HTML web page. I found an example online of how I might do this. The method involves JavaScript.

https://jsfiddle.net/7BUmG/2/

Is this JavaScript free? If not, what steps should I take to make it free? I guess that I'd have to try to understand it to make it more descriptive/free.

If the JavaScript is free (or can be made free), would you teach me how to implement it? I've done basic HTML before and CSS when it came with the HTML template. I don't know how or where JavaScript fits into making a website.

M

Parodper
Offline
Beigetreten: 05/01/2020

O 23/05/21 ás 05:45, name at domain escribiu:
> Hi gang,
>
> I'd like to make a table look-up thing on my HTML web page. I found
> an example online of how I might do this. The method involves
> JavaScript.
>
> https://jsfiddle.net/7BUmG/2/
>
> Is this JavaScript free? If not, what steps should I take to make
> it free?

Code copyright depends on who wrote said code. That page has its
authors, and since there is no copyright notice by default the code is
under copyright by them.

However, no one will care (or know) if you copy that code and put it
under a free license. Pretty sure the authors though the same way, and
they probably copied from somewhere else.

> I guess that I'd have to try to understand it to make it more
> descriptive/free.

If you copy code from the Internet without knowing what it does, you are
off to a bad start.

> If the JavaScript is free (or can be made free),

Check out GNU's LibreJS page for that
(https://www.gnu.org/software/librejs/free-your-javascript.html)

> would you teach me how to implement it? [...] I don't know how or
> where JavaScript fits into making a website.

JavaScript goes inside tags, and you also need to include
JQuery for that example.

muhammed
Offline
Beigetreten: 04/13/2013

"If you copy code from the Internet without knowing what it does, you are
off to a bad start."

LOL touche

The whole premise of our website here :P

Thank you Parodper

koszkonutek
Offline
Beigetreten: 03/19/2020

Even when some script comes with no license or minified, it is sometimes still possible to find it somewhere else on the interenet (usually in some GitHub repo) in a raw form and with a free license. I recommend you search for it