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. How to Register the External JavaScript

How to Register the External JavaScript

Scheduled Pinned Locked Moved ASP.NET
helpjavascriptvisual-studiotutorial
3 Posts 2 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.
  • S Offline
    S Offline
    slSoftware
    wrote on last edited by
    #1

    Hi All Im using 2 external JavaScript file for autocomplete in the textbox,In my normal web page im using seperate method for Asynchronously fill the data to textbox,and also im calling to usercontrol using DIV tag eg-:

    Using this DIV id im passing ConentTag to userControl. My Problem is when im calling 2 external javascript file from my normal web page its not working, but when im remove the Div tag its working fine, Help me to solve this problem im using VS 2003. this is urgent. Thanks

    G 1 Reply Last reply
    0
    • S slSoftware

      Hi All Im using 2 external JavaScript file for autocomplete in the textbox,In my normal web page im using seperate method for Asynchronously fill the data to textbox,and also im calling to usercontrol using DIV tag eg-:

      Using this DIV id im passing ConentTag to userControl. My Problem is when im calling 2 external javascript file from my normal web page its not working, but when im remove the Div tag its working fine, Help me to solve this problem im using VS 2003. this is urgent. Thanks

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

      You should not have script elements between the head and body tags. Put the script elements inside the head element.

      Despite everything, the person most likely to be fooling you next is yourself.

      S 1 Reply Last reply
      0
      • G Guffa

        You should not have script elements between the head and body tags. Put the script elements inside the head element.

        Despite everything, the person most likely to be fooling you next is yourself.

        S Offline
        S Offline
        slSoftware
        wrote on last edited by
        #3

        yes i have put my 2 script files inside head (Thats inside my normal web page, not the UserControl). Still its not wroking

        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