Solved

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

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get number of Files in Directory and Sub Directories 2 42
Else condition 9 19
Make options hidden and show just option that is on 1 19
Jquery 2 13
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'…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

809 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