Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

920 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

13 Experts available now in Live!

Get 1:1 Help Now