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. ASP.NET
  4. Use of javascript

Use of javascript

Scheduled Pinned Locked Moved ASP.NET
javascripthelp
6 Posts 4 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.
  • N Offline
    N Offline
    niki_nilu
    wrote on last edited by
    #1

    hello sir sir i am using MasterPage in my webform. and i want to use javascript in that webform. then where i write javascript. bec their is no tag. pls help me. gayatri

    Gayatri

    E S I 3 Replies Last reply
    0
    • N niki_nilu

      hello sir sir i am using MasterPage in my webform. and i want to use javascript in that webform. then where i write javascript. bec their is no tag. pls help me. gayatri

      Gayatri

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      Why dont you put a head tag in then?

      N 1 Reply Last reply
      0
      • E eyeseetee

        Why dont you put a head tag in then?

        N Offline
        N Offline
        niki_nilu
        wrote on last edited by
        #3

        it have error. Error 3 Only Content controls are allowed directly in a content page that contains Content controls.

        Gayatri

        E 1 Reply Last reply
        0
        • N niki_nilu

          it have error. Error 3 Only Content controls are allowed directly in a content page that contains Content controls.

          Gayatri

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          Ive managed to put a tag in my masterpage which works fine dont put a content placeholder tag in your masterpage

          1 Reply Last reply
          0
          • N niki_nilu

            hello sir sir i am using MasterPage in my webform. and i want to use javascript in that webform. then where i write javascript. bec their is no tag. pls help me. gayatri

            Gayatri

            S Offline
            S Offline
            Sherin Iranimose
            wrote on last edited by
            #5

            Its not necessary that you should write the JS inside the head tag. You can write the JS inside the Content tag.

            EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.

            1 Reply Last reply
            0
            • N niki_nilu

              hello sir sir i am using MasterPage in my webform. and i want to use javascript in that webform. then where i write javascript. bec their is no tag. pls help me. gayatri

              Gayatri

              I Offline
              I Offline
              Ivan Yan
              wrote on last edited by
              #6

              In fact,you can write your javascript is separate js file, and then import the js file in masterpage header... hope this is useful for you~

              Stick To .Net

              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