Forum:Javascript functions not working? (Possibly newb mistake): Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
imported>PerilousGourd (Created page with "{{Forumheader|Support}} ---- I'm really sorry if this issue is solely due to my inexperience, which I expect it is. I haven't been able to make the Javascript functions in the...") |
imported>PerilousGourd No edit summary |
||
Line 1: | Line 1: | ||
{{Forumheader|Support}} |
{{Forumheader|Support}} |
||
---- |
---- |
||
I'm really sorry if this issue is solely due to my inexperience, which I expect it is. I haven't been able to make the Javascript functions in the MediaWiki:Common.js file work. An alert(); in Common.js works, but none of the functions do. https://workedexample.orain.org/wiki/Template_testing to see what I mean (focus on the lines that talk about colour changing). If I copy the [https://workedexample.orain.org/wiki/MediaWiki:Common.js functions] to a html file on my system, they seem to work as expected. |
I'm really sorry if this issue is solely due to my inexperience, which I expect it is. I haven't been able to make the Javascript functions in the MediaWiki:Common.js file of my wiki (WorkedExample) work. An alert(); in Common.js works, but none of the functions do. https://workedexample.orain.org/wiki/Template_testing to see what I mean (focus on the lines that talk about colour changing). If I copy the [https://workedexample.orain.org/wiki/MediaWiki:Common.js functions] to a html file on my system, they seem to work as expected. |
||
If someone could tell me what I've done wrong, I'd be so appreciative. |
If someone could tell me what I've done wrong, I'd be so appreciative. |
Latest revision as of 03:07, 28 September 2014
I'm really sorry if this issue is solely due to my inexperience, which I expect it is. I haven't been able to make the Javascript functions in the MediaWiki:Common.js file of my wiki (WorkedExample) work. An alert(); in Common.js works, but none of the functions do. https://workedexample.orain.org/wiki/Template_testing to see what I mean (focus on the lines that talk about colour changing). If I copy the functions to a html file on my system, they seem to work as expected.
If someone could tell me what I've done wrong, I'd be so appreciative.
PerilousGourd (talk) 04:07, 28 September 2014 (BST)