I do not understand a piece of code and where exactly each piece goes.
What part would you put the functions searchit(arr, num) and the n = getNumber(); in your code.
New to Javascript
Page 1 of 14 Replies - 260 Views - Last Post: 29 June 2012 - 01:39 PM
Replies To: New to Javascript
#2
Re: New to Javascript
Posted 29 June 2012 - 01:32 PM
In between the script - javascript tags at in the header of an html file?
<html> <header> <script type="text/javascript"> // here </script> </header> <body> </body> </html?
#3
Re: New to Javascript
Posted 29 June 2012 - 01:36 PM
modi123_1, on 29 June 2012 - 01:32 PM, said:
In between the script - javascript tags at in the header of an html file?
<html> <header> <script type="text/javascript"> // here </script> </header> <body> </body> </html?
So you are saying that I should put my code for function :
<html>
<header>
<script type="text/javascript">
// here
// the function searchit(arr, num) and the n=getnumber() here?
</script>
</header>
<body>
</body>
</html?
#4
Re: New to Javascript
Posted 29 June 2012 - 01:37 PM
It's all a preference...
<html> <header> </header> <body> </body> <script type="text/javascript"> // here </script> </html>
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote







|