Click here to Skip to main content
15,915,019 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am practicing jQuery examples and I got a jQuery to open a popup.
JavaScript
$('element_to_pop_up').bPopup();

I would like to use this in my ASP.NET page.

Can anyone help?
Posted
Updated 16-Jan-13 20:26pm
v3

 
Share this answer
 
Have you checked this[^] website.
 
Share this answer
 
First of all, jQuery works in client side only, because this is all JavaScript. So, it does not matter if this is ASP.NET or not. It just must be the ASP.NET resource generating HTML and/or JavaScript file(s). Or just HTML+JavaScript files, without any ASP.NET. It just does not matter much.

You need to include jQuery library and use it in your HTML code. Please start here:
http://docs.jquery.com/How_jQuery_Works[^].

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900