Advertisement

05.16.2008 at 04:16AM PDT, ID: 23407892 | Points: 500
[x]
Attachment Details

I wanna add php code and javascript in my HTML data. But the javascript code will not display in front end

Asked by Gurbirs in Hypertext Markup Language (HTML), JavaScript, PHP Scripting Language

Hi,

Client wish a W3C HTML code but he is using javascript menu. These menus will update through back end so we are using PHP.
If we directly add this code in my home page then java script also display in page view source but client don't want to show this java script in view source. He wanna add this code in site but not display in source page.

Could you please send me a solution about this becouse simple javascript will add in HTML through this code
<script language="JavaScript" src="mm_menu.js"></script>
but issue is that we have not use our PHP code in .js file. If we uses this code then this code is not working.Start Free Trial
[+][-]05.16.2008 at 05:19AM PDT, ID: 21582001

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628