Stats: 3,191,739 members, 7,945,314 topics. Date: Tuesday, 10 September 2024 at 02:21 PM |
Nairaland Forum / Science/Technology / Webmasters / Js Innerhtml Not Working (990 Views)
After Upgrade To Wordpress 4.0 I Am Getting A JS Error / I Need Advanced PHP Programming,ajax And JS Ebooks, Pls!!! / Phpmailer Not Working (2) (3) (4)
Js Innerhtml Not Working by Easyphp: 10:09am On May 03, 2011 |
Hello landers Am trying to include a php page when function is been call so i use this code document.getElementById("content" ![]() It didn't work for me. pls any help will be grateful |
Re: Js Innerhtml Not Working by Nobody: 11:00am On May 03, 2011 |
it's not ideal to do stuffs like that.when u include files from my php knowledge,it still contains PHP Codes that can be evaluated by the Machine itself,however you need the markups,just use the file_get_contents,save to a variable,then you can append to innerHTML.that statement even if it works it bad coding. |
Re: Js Innerhtml Not Working by Nobody: 12:34pm On May 03, 2011 |
You need to view the source code generated and see if there is an error. The error i suspect is that, if the file.php contains a " it will break the script and generate a javascript error. if that is the case (as i suspected it is), you need to change tactics. I must zip-dash outta here. . . |
Re: Js Innerhtml Not Working by viewspro: 5:00pm On May 04, 2011 |
EasyPhp, Can you put a sample page, so to examine it for you. |
(1) (Reply)
актеры фильма сумерки сумерки скачать бесплатно онлай / Need Proposal For E-portal Ungenly / Promo Going On Different Courses In Karrox
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7 |