Solved

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

Posted on 2014-02-24
3
355 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now