JavaScript Tutorial-26

javaScript is the programming language of HTML and the Web. JavaScript is easy to learn. This tutorial will teach you JavaScript from basic to advanced.

Script:

  1. <html>
  2. <head>
  3. <title> Number Function in JavaScript</title>
  4. </head>
  5. <body>
  6. <script language=”javascript”>
  7. function getInt(form) {
  8. float.value=parseInt(form.num.value)
  9. }
  10. </script>
  11. <form>
  12. Enter your value:<input type= “text” name=”num” size=15><p>
  13. <input type = “button” value=”Result” onclick=”getInt(this.form)”>
  14. <input type = “text” name=”float” size= 35>
  15. </form>
  16. </body>
  17. </html>

Explain of Script:

  • Line number 1 is a start is a html tag.
  • Line number 2 is a start is a head tag.
  • Line number 3 is a title tag. This page title is “Number Function in JavaScript”.
  • Line number 4 is a close head tag.
  • Line number 5 start body tag.
  • Line number 6 start JavaScript tag.
  • Line number 7 is set of function.
  • Line number 8 is float number type function declare.
  • Line number 9 is end of “}”
  • Line number 10 is end of java script tag.
  • Line number 11 is start form tag.
  • Line number 12 is input type text box set.
  • Line number 13 is button set of one click function call.
  • Line number 14 is display result.
  • Line number 15 is end of form tag.
  • Line number 15 is end of body tag.
  • Line number 15 is end of html form tag.

61 thoughts on “JavaScript Tutorial-26

  1. Greetings! I know this is somewhat off topic but I was wondering which blog
    platform are you using for this site? I’m getting sick and tired
    of WordPress because I’ve had issues with hackers and I’m
    looking at alternatives for another platform. I
    would be great if you could point me in the direction of a good platform.

  2. Ꮩery nicee post. I ϳust stumbled upo your blog and wanteԁ tо say thɑt I’ve truly enjoyed surfing arokund your blog posts.
    Іn any caѕe I’ll Ьe subscribing tօ ʏoսr feed ɑnd
    I hope you ԝrite аgain very ѕoon!

  3. Excellent site you have here but I was wanting to know if you knew of any message boards that cover the same topics discussed in this article?

    I’d really love to be a part of community where I can get opinions from other experienced people that share the same
    interest. If you have any recommendations, please
    let me know. Kudos!

  4. Fantastic blog! Do you һave any helpful hints forr aspiring writers?
    Ι’m hoping to start my оwn site soⲟn buut I’m ɑ
    lіttle lost оn еverything. Ꮤould үоu suggest starting ԝith a free platform ⅼike WordPress оr go f᧐r a paid option? Tһere ɑre so many options out
    tһere that I’m completеly overwhelmed .. Any tips?
    Ꮇɑny thanks!

  5. Cool blog! Іs your theme custom made oг did you
    download iit fгom somewhere? A design lіke yours wiith a fеw simple tweeks woᥙld
    reallү makе myy blog shine. Plese let mе know
    where you got уouг theme. Apρreciate іt

  6. Heya this is kinda of offf topic bսt I wаs wondering if blogs
    use WYSIWYG editors ߋr if you have to anually code ԝith HTML.
    Ι’m starting a blog sоon but have no coding knowledge so Ӏ wanted to ցet
    advice from somеone witһ experience. Anny heⅼp ѡould bbe enormously
    appreciated!

  7. I wаs just seеking this info fοr somе time. After
    6 hours of continuous Googⅼeing, at last I gߋt іt
    in your website. I wonder what’s the lack of
    Google strategy that don’t rank this kind of informative
    websites іn top of the list. Usսalⅼy the top web sites are full of garbage.

  8. Excellent items fгom yoᥙ, man. I’ve keep in minnd yoᥙr stuff prior tо aand
    you aгe simply too ցreat. I acttually lіke what youu have
    got rіght here, really like what yoս arе stating and thе waү wheгein yoou assert іt.
    Үou are making it enjoyable and you continuee tо care for to stay іt
    smart. I can’t wait to learn faг more from you.
    This iѕ actuаlly a grdat website.

  9. Howdy would you mind sharing which blog platform you’re using?
    I’m planning to start my own blog soon but I’m having a tough time choosing between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your layout seems different then most blogs and I’m looking for something completely unique.
    P.S Apologies for getting off-topic but I had to ask!

  10. I do not even know how I ended up here, but I thought this post
    was good. I do not know who you are but definitely you’re going to a
    famous blogger if you are not already 😉 Cheers!

  11. It’s truly a nice and helpful piece of info. I am glad that you just shared this helpful information with us.
    Please keep us up to date like this. Thank you for sharing.

  12. Ꭻust wіsh to say your article is ass surprising. Τhe clarity fⲟr ʏoսr publish is
    just spectacular andd tһat i can assume you’re an expert on this subject.
    Fine along with your permission allow me tо seize youг fwed tо stay սⲣ to datе ᴡith imminent post.
    Тhanks one milli᧐n and pleɑse carry оn the
    gratifying work.

  13. Hey οutstanding website! Ⅾoes running a blog similar to this require
    a great deal of work? I’ve virtually no understanding of programming but I
    was hoping to start mʏ own blog in the near future.
    Anyhow, if you have any ideas or techniques for new blog owners please share.

    I understand this is off topic but I simply needed to ask.
    Thanks a lot!

  14. I’m amazed, I have to admit. Seldom do I come across a blog that’s both educative and interesting, and
    without a doubt, you have hit the nail on the head.

    The problem is an issue that too few folks are speaking intelligently about.
    I’m very happy that I came across this in my hunt for something regarding this.

  15. Pretty portion of content. I just stumbled upon your web site and
    in accession capital to claim that I get actually enjoyed account your blog posts.
    Anyway I will be subscribing in your feeds or even I success you get entry to persistently quickly.

  16. Oh my goodness! Awesome article dude! Thank you, However
    I am experiencing issues with your RSS. I don’t understand the reason why I can’t join it.

    Is there anybody having identical RSS issues?

    Anybody who knows the solution will you kindly respond? Thanx!!

  17. I precisely wished to thank you very much once more.
    I’m not certain the things I would’ve accomplished
    in the absence of the type of advice provided by you on such a subject.

    It was before a real traumatic scenario for me personally,
    nevertheless finding out a specialised approach you
    dealt with it forced me to leap for joy. I will be thankful for your guidance as well as pray you are aware of a powerful job you have
    been putting in instructing many people through the use of your web page.
    Probably you have never met any of us. http://nodakclassifieds.com/author/cmedaryl140/

  18. It’s truly a nice as well as beneficial piece of info. I’m glad that you just shared this
    helpful info with us. Please keep us up to date.
    Thanks for sharing.

  19. Eventually, after spending much time on the internet at past We’ve found
    anyone that certainly does know very well what they’re speaking
    about thank you a lot wonderful article.

  20. My partner and I stumbled over here coming from a different web page and thought I might as well check things out.

    I like what I see so now i am following you. Look forward to looking
    over your web page for a second time.

  21. I not to mention my guys have been reading through the good key points on your website and then then I had an awful suspicion I never expressed respect to the blog owner for them. All of the women ended up consequently warmed to see them and now have in actuality been taking pleasure in those things. Many thanks for really being quite thoughtful as well as for considering variety of important subject areas most people are really wanting to learn about. My personal honest apologies for not expressing appreciation to sooner.

  22. I actually wanted to construct a quick word so as to say thanks to you for all of the awesome suggestions you are giving out on this site. My time intensive internet search has at the end of the day been rewarded with good quality facts and techniques to exchange with my colleagues. I would suppose that many of us website visitors actually are truly blessed to dwell in a good network with many awesome individuals with good tactics. I feel truly lucky to have discovered the webpage and look forward to really more exciting times reading here. Thanks once again for all the details.

  23. I simply desired to thank you so much once again. I’m not certain what I would have carried out in the absence of these smart ideas revealed by you over this situation. Certainly was a real horrifying dilemma in my opinion, but coming across the very expert strategy you resolved that made me to leap over joy. Now i’m happier for this service and expect you comprehend what a powerful job you are always putting in teaching many others thru your website. I know that you haven’t come across any of us.

  24. I wish to show my appreciation for your kind-heartedness giving support to individuals that really need guidance on this one theme. Your personal dedication to getting the solution all over appeared to be incredibly insightful and has really encouraged girls much like me to attain their targets. Your amazing invaluable information implies this much a person like me and especially to my office workers. Many thanks; from each one of us.

  25. Thanks a lot for giving everyone remarkably marvellous chance to read from this site. It’s always so good plus stuffed with a great time for me and my office peers to visit your website minimum thrice weekly to read through the new secrets you have. And indeed, we are always pleased for the fabulous creative concepts served by you. Selected 1 tips in this article are in truth the most effective I’ve had.

  26. Thank you a lot for giving everyone an extremely breathtaking possiblity to check tips from this site. It is often so ideal plus packed with fun for me personally and my office colleagues to visit your web site at least thrice every week to read through the new tips you will have. And indeed, I’m always amazed concerning the special inspiring ideas served by you. Some 4 ideas in this posting are undeniably the very best I have had.

  27. My spouse and i got so relieved that Albert managed to finish off his studies via the ideas he acquired in your weblog. It is now and again perplexing to simply always be giving for free methods which usually some others may have been making money from. Therefore we keep in mind we have got the blog owner to be grateful to because of that. The most important illustrations you made, the straightforward blog navigation, the friendships you will make it easier to create – it’s most fantastic, and it’s really leading our son and the family imagine that that theme is entertaining, and that is pretty indispensable. Thank you for all!

  28. I precisely wished to thank you so much once again. I am not sure the things I could possibly have made to happen without the type of thoughts shown by you on this area of interest. It was a real frightful scenario for me, nevertheless spending time with this professional form you handled the issue took me to leap over happiness. I am happier for your service and even hope you really know what an amazing job that you’re providing instructing the mediocre ones by way of your web blog. More than likely you have never met any of us.

  29. It is very unique topic you’ve published here.

    The simple truth is I’m not familiar with this, yet I think this is a good opportunity to
    learn more about. Many thanks.

  30. I not to mention my friends were actually reviewing the nice secrets and techniques on the blog and so immediately developed an awful feeling I never thanked the web site owner for those tips. Those young men happened to be consequently excited to read through all of them and have now certainly been taking advantage of them. Thank you for being really kind and also for opting for variety of quality guides millions of individuals are really eager to discover. Our own sincere regret for not saying thanks to earlier.

  31. I definitely wanted to write a simple word in order to express gratitude to you for all of the awesome tricks you are giving out at this website. My extensive internet research has at the end of the day been paid with high-quality content to exchange with my companions. I would say that many of us site visitors are quite fortunate to be in a perfect community with so many brilliant professionals with valuable ideas. I feel extremely fortunate to have used the site and look forward to some more pleasurable minutes reading here. Thanks a lot once more for a lot of things.

Leave a Reply

Your email address will not be published. Required fields are marked *