Welcome, Guest. Please Login or Register
HTMLfixIT home
  News:
The forum has been upgraded to allow image capture on registration and email verification (as well as other things) to end our spamming issues. We hope this improves your experiance.
  HomeHelpSearchLoginRegister  
 
Pages: 1
Send Topic Print
Javascript in HTML(Mandrake) (Read 1768 times)
Kokoo
Guest




Javascript in HTML(Mandrake)
May 21st, 2004, 1:55pm
 
my OS is Linux Mandrake 9.2.Now i am doing my own homepage.i am trying to use DHtml that has Java script in it.When i try to use JavaScript like (ex. <!-- function .... --//> it become comment in HTMLWhat can i do to make the JavaScript work in the html.
Back to top
 
 
  IP Logged
Franki
YaBB Administrator
*****
Offline

What tha...... ??
 :-)

Posts: 742
Perth Western Australia
Gender: male
Re: Javascript in HTML(Mandrake)
Reply #1 - May 21st, 2004, 1:58pm
 
Javascript is browser side scripting, not server side.. so the web server really has nothing to do with JS.

Show me a snipped of the code you are talking about.
It sounds like a simple JS error to me..

the JS in your page should look like this:
Code:
<script type='text/javascript'>
<!--

     function somefunc ()
     {
     // JS function code goes here/
     }

//-->
</script>
 



hope that helps.

rgds

Franki
Back to top
 
 

Welcome to the HTMLfixIT.com forum.
Ask and you shall receive.
(to the best of our ability anyway.)
View Profile WWW   IP Logged
Pages: 1
Send Topic Print