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
  1. Home
  2. Web Development
  3. Whats the difference javascript

Whats the difference javascript

Scheduled Pinned Locked Moved Web Development
javascripttoolsquestion
5 Posts 3 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.
  • C Offline
    C Offline
    Cape Town Developer
    wrote on last edited by
    #1

    Hi all Whats the difference between the following script includes ? <script type="text/javascript" src="script.js"> P.S Hardly got anything usefull from google. Thanks a million ! <div class="ForumSig">Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.</div>

    C C G 3 Replies Last reply
    0
    • C Cape Town Developer

      Hi all Whats the difference between the following script includes ? <script type="text/javascript" src="script.js"> P.S Hardly got anything usefull from google. Thanks a million ! <div class="ForumSig">Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.</div>

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      In theory, you should provide both attributes. So long as it works, there is no real difference.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      C 1 Reply Last reply
      0
      • C Christian Graus

        In theory, you should provide both attributes. So long as it works, there is no real difference.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        C Offline
        C Offline
        Cape Town Developer
        wrote on last edited by
        #3

        Can u show me an example please ? Thank You :)

        Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.

        1 Reply Last reply
        0
        • C Cape Town Developer

          Hi all Whats the difference between the following script includes ? <script type="text/javascript" src="script.js"> P.S Hardly got anything usefull from google. Thanks a million ! <div class="ForumSig">Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.</div>

          C Offline
          C Offline
          Cape Town Developer
          wrote on last edited by
          #4

          Ive even found out that if one uses the following code block debugging does not always work ! // Dont always work ! function doSomthing() { // break point here } // Debugging works here function doSomthing() { // break point here }

          Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.

          1 Reply Last reply
          0
          • C Cape Town Developer

            Hi all Whats the difference between the following script includes ? <script type="text/javascript" src="script.js"> P.S Hardly got anything usefull from google. Thanks a million ! <div class="ForumSig">Wisdom is often meant as the ability and desire to make choices that can gain approval in a long-term examination by many people.</div>

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            In HTML 3.2 the language attribute was used. Now the type attribute should be used instead. The language attribute was deprecated in HTML 4: HTML 4.01 : The script element[^]

            Experience is the sum of all the mistakes you have done.

            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