Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ASP.net Client side Pop Up where does  JQuery code go?

Posted on 2014-02-24
3
359 Views
Last Modified: 2014-02-25
Hi

I am trying to implement the pop up at the following link in my ASP.net VB.net Web Application project. I am not sure where the code in "3. The jQuery script" goes...
http://istockphp.com/jquery/creating-popup-div-with-jquery/

Sould I be adding an extra item to my project and pasting that code in there
0
Comment
Question by:murbro
3 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 39883967
You can add that script to a new script file, an existing file or the page itself.
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 39885004
Well, in the article you are working with, they have put the JQuery code into a separate javascript file called script.js

If you do that you'll need to add a new javascript file to your project, paste the code in, and then add a <script /> element to include the file into your page:
<head>
    <script src="path_to_your_script/scripts.js" type="text/javascript"></script>
</head>

Open in new window

Or if you drag and drop the javascript file from the Project tab, VS should create the link for you.
0
 

Author Closing Comment

by:murbro
ID: 39885167
Thanks very much
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question