Solved

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

Posted on 2014-02-24
3
360 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
[X]
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
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

733 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