javascript, how to insert the javascript content from a javascript file into the html

So instead of referencing a javascript file:
<script language="javascript" type="text/javascript" src="/javascript/my_utils.js">

I would like the content of that javascript file inserted into the HTML.  Is there a way to do that?
Who is Participating?
dxdinhConnect With a Mentor Commented:
just paste the content of my_utils.js  inside script tag and remove the source

// something like this
<script language="javascript" type="text/javascript" >

var globalX = "xx";
function x ()


function y()


rgbcofAuthor Commented:
I guess that's the only way then.
All Courses

From novice to tech pro — start learning today.