Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Want ot start javascript coding but.. [modified]

Want ot start javascript coding but.. [modified]

Scheduled Pinned Locked Moved ASP.NET
javascripthtmlhelptutorial
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hemant Garg
    wrote on last edited by
    #1

    Hello to EveryOne, i now want to learn Javascript but how should i. I read some coding on google but i even don;t know how to and where to write the create function.. Could anyBody help me in this regard... Even some good books fir this purpose. For Eg: if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); } in html Where i should write this code... Thank You. Hemant Garg

    S V P K 5 Replies Last reply
    0
    • H Hemant Garg

      Hello to EveryOne, i now want to learn Javascript but how should i. I read some coding on google but i even don;t know how to and where to write the create function.. Could anyBody help me in this regard... Even some good books fir this purpose. For Eg: if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); } in html Where i should write this code... Thank You. Hemant Garg

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      There are n number of books in market Which can help you as a begginer. You can create Javascript function in .js file or in the head of Aspx page I think google can give more focus on it :)

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      1 Reply Last reply
      0
      • H Hemant Garg

        Hello to EveryOne, i now want to learn Javascript but how should i. I read some coding on google but i even don;t know how to and where to write the create function.. Could anyBody help me in this regard... Even some good books fir this purpose. For Eg: if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); } in html Where i should write this code... Thank You. Hemant Garg

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        Hemant, Welcome to JavaScript. Check out this Maconstate Tutorials: http://msconline.maconstate.edu/tutorials/JSDHTML/default.htm[^]

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        1 Reply Last reply
        0
        • H Hemant Garg

          Hello to EveryOne, i now want to learn Javascript but how should i. I read some coding on google but i even don;t know how to and where to write the create function.. Could anyBody help me in this regard... Even some good books fir this purpose. For Eg: if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); } in html Where i should write this code... Thank You. Hemant Garg

          S Offline
          S Offline
          Sandeep Akhare
          wrote on last edited by
          #4

          Hemant Garg wrote:

          if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); }

          Sorry but what you want to do ? Thats more important Can you tell What are you trying to do in that function ?

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

          H 1 Reply Last reply
          0
          • H Hemant Garg

            Hello to EveryOne, i now want to learn Javascript but how should i. I read some coding on google but i even don;t know how to and where to write the create function.. Could anyBody help me in this regard... Even some good books fir this purpose. For Eg: if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); } in html Where i should write this code... Thank You. Hemant Garg

            P Offline
            P Offline
            Prakash_Mishra
            wrote on last edited by
            #5

            HI Hemant Java script is a piece of code that we write to make the page contents dynamic and to make the page interactive(like changing the color of a control when mouse points on that etc) we need to write the java script in in the header section of the html or u can write it inside the body. only mention the tag< lang used as java script...> refer this site it will show u nice example http://dynamicdrive.com/ In that page refer the section Script Categories Regards

            Prakash Mishra(Banglore,India)

            1 Reply Last reply
            0
            • S Sandeep Akhare

              Hemant Garg wrote:

              if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); }

              Sorry but what you want to do ? Thats more important Can you tell What are you trying to do in that function ?

              Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

              H Offline
              H Offline
              Hemant Garg
              wrote on last edited by
              #6

              there r rwo input groups in my form one for admin and other for user login... When i click textbox1 then button 1 should be default button but when i click the textbox2 then button2 should be default button... i hav used panel1 for textbox1 and button1 and panel2 for textbox2 and button2. how can i do this... suggst me... Thank you

              1 Reply Last reply
              0
              • H Hemant Garg

                Hello to EveryOne, i now want to learn Javascript but how should i. I read some coding on google but i even don;t know how to and where to write the create function.. Could anyBody help me in this regard... Even some good books fir this purpose. For Eg: if(window.event.keyCode==13) { var but = document.getElementById('Your Button ID'); but.click(); } in html Where i should write this code... Thank You. Hemant Garg

                K Offline
                K Offline
                koolprasad2003
                wrote on last edited by
                #7

                Dear hemant, just try your first simple progam in Javascript create one button in HTML and in after write the following code function SayHello() { alert("How R U"); return false; } OK. now try to run your code.. regards, koolprasad2003:)

                If the message is useful for U then please Rate This message... Be a good listener...Because Opprtunity knoughts softly...N-Joy

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups