My Javascript Code Is Not Working - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › My Javascript Code Is Not Working (848 Views)
| My Javascript Code Is Not Working by Nobody: 12:21am On Aug 28, 2014*. Modified: 6:28am On Aug 28, 2014 |
Goodday every one. I wrote a code using the createElement() method down to the append child() method. Yet the code will not run in my firefox and IE, instead only the text that was written in html shows but does not show the one I planned to created using js. Any possible solution to help me solve this issue and I will be extreme delighted and grateful. |
| Re: My Javascript Code Is Not Working by maekhel(m): 7:24am On Aug 28, 2014 |
let see your code |
| Re: My Javascript Code Is Not Working by Nobody: 12:27pm On Aug 28, 2014 |
Trollin' |
| Re: My Javascript Code Is Not Working by Nobody: 9:24am On Aug 31, 2014 |
maekhel: let see your code// the emoticon are actually closing brackets for the methods/functions //Simple codes like this don't run on my browsers. function sample() { alert("testing sample" ;} //another code that is not working var paragraph= document.getElementById("para" ;var p=document.createElement("p" ;var content=p.createTextNode("this paragraph is not loading on my browser" ;paragraph.appendchild("content" ;/*also any code that use a method or a function does not run, dunno if it's my system settings.*/ |
| Re: My Javascript Code Is Not Working by maekhel(m): 12:18pm On Aug 31, 2014 |
First check to make sure JavaScript is not disabled in your browser. How are you running your code |
| Re: My Javascript Code Is Not Working by Nobody: 1:28pm On Aug 31, 2014 |
maekhel: First check to make sure JavaScript is not disabled in your browser.Js is not disabled cos other complex code run on it but once I include the get_______ () method, it stops running, dunno if it might be an error from the system or should I try older browser versions. I use notepad++ and use the run option on it to run it. Also sometime the page icon in the folder doesn't open the webpage when double clicked on so I stuck to using notepad++ to run it. |
| Re: My Javascript Code Is Not Working by dhtml(m): 3:04pm On Aug 31, 2014 |
I dont understand what this op is saying. |
| Re: My Javascript Code Is Not Working by Nobody: 4:09pm On Aug 31, 2014 |
dhtml: I dont understand what this op is saying.When I run my code, nothing appears on my browser. My browser will open a blank page. |
Trouble With Javascript Code • Javascript Code To Make Rolling Banners/images • Webmasters I Need Your Help On This Javascript Code • 2 • 3 • 4
Website Design Company In lagos 09080906018 • Linda Ikeji Blog Vs Nairaland,which One Is More Better? • Need Some One To Help Set Up Facebook Ad Campaign
;