You need to help people help you. Why did it not work? did you get any error messages?
Have you read some basic tutorials on how to do it? http://www.google.co.uk/search?q=external+js+file+tutorial On Jan 21, 3:52 pm, DeaR <[EMAIL PROTECTED]> wrote: > I've tried already putting all the scripts in a file, and imported it into > the html file like <script src="..." type="..."></script> and it didn't work > as supposed to.. > > > > Fabien Meghazi-2 wrote: > > >> If I make a long jQuery script, and when the webpage is loaded, when we > >> look > >> at the source code, then everyone will be able to see the jQuery script. > >> Are > >> there any ways to get this hidden. I wanna hide these scripts for SEO > >> reason > >> as well... > > > Why don't you put your code in a .js file that you include in your > > html with the <script> tag ? > > If your goal is to forbid people to have a look at your code in any > > circumstance then you must keep in mind that it's just impossible. All > > you can do is obfuscation but it will never stop someone to see your > > code. > > You must keep in mind that everything running on the client can be > > figured out by anyone who wants to take a deeper look into it. (Even > > flash's action script can be decompiled) Thinking like this will also > > improve the way you manage security in your apps. > > > -- > > Fabien Meghazi > > > Website:http://www.amigrave.com > > Email: [EMAIL PROTECTED] > > IM: [EMAIL PROTECTED] > > -- > View this message in > context:http://www.nabble.com/Is-there-a-way-to-hide-the-script-tp14992459s27... > Sent from the jQuery General Discussion mailing list archive at Nabble.com.