I'm letting people include my JS script like
<script src='example.js' test='1'></script>
So my question is, how would i check if test is equal to 1 or 0 inside the script which it is loading?
any help is greatly appreciated!
I'm letting people include my JS script like
<script src='example.js' test='1'></script>
So my question is, how would i check if test is equal to 1 or 0 inside the script which it is loading?
any help is greatly appreciated!