Author Topic: Could not load javascript  (Read 4689 times)

psm

  • Jr. Member
  • **
  • Posts: 75
Could not load javascript
« on: July 15, 2013, 22:02:30 pm »
Dear all,
could you please advice me how to add loading javascript code to my php file? I used some codes from internet but it is not functional (do not anything).

Code: [Select]
<!DOCTYPE html>
<html>
<head>
<title>Quick Search</title>


        <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="screen">
        <link href="css/font-awesome.css" rel="stylesheet" type="text/css" media="screen">



<?php include('config.php');?>
</head>

<?php
$document 
= &JFactory::getDocument();
$document->addScript'/modules/mod_blabla/js/blabla.js' );
?>


   

Thanks