Embedding Javascript

Learn the basics of how to exploit JavaScript.

Embedding Javascript

Post by sanddbox on Tue Aug 04, 2009 1:13 pm
([msg=27874]see Embedding Javascript[/msg])

How do you embed JS in a website?
Image

HTS User Composition:
95% Male
4.98% Female
.01% Monica
.01% Goat
User avatar
sanddbox
Expert
Expert
 
Posts: 2337
Joined: Sat Jul 04, 2009 5:20 pm
Blog: View Blog (0)


Re: Embedding Javascript

Post by mischief on Tue Aug 04, 2009 8:21 pm
([msg=27905]see Re: Embedding Javascript[/msg])

The whole secret of existence is to have no fear. Never fear what will become of you, depend on no one. Only the moment you reject all help are you freed.
--Buddha
User avatar
mischief
Poster
Poster
 
Posts: 355
Joined: Wed Jan 07, 2009 4:16 pm
Blog: View Blog (0)


Re: Embedding Javascript

Post by sanddbox on Tue Aug 04, 2009 8:25 pm
([msg=27906]see Re: Embedding Javascript[/msg])

Using that my javascript just displays as plaintext. :/

Do i need a src or can I leave it as ""?
Image

HTS User Composition:
95% Male
4.98% Female
.01% Monica
.01% Goat
User avatar
sanddbox
Expert
Expert
 
Posts: 2337
Joined: Sat Jul 04, 2009 5:20 pm
Blog: View Blog (0)


Re: Embedding Javascript

Post by mischief on Tue Aug 04, 2009 10:17 pm
([msg=27907]see Re: Embedding Javascript[/msg])

leave what as "" ?

it's simple. you write some javascript. you put it in script tags. and that's it.
The whole secret of existence is to have no fear. Never fear what will become of you, depend on no one. Only the moment you reject all help are you freed.
--Buddha
User avatar
mischief
Poster
Poster
 
Posts: 355
Joined: Wed Jan 07, 2009 4:16 pm
Blog: View Blog (0)



Return to Javascript

Who is online

Users browsing this forum: No registered users and 0 guests

cron