Category Archives: jQuery

PHPHOST BLOG

Web Hosting Related Articles You May Need

Most Popular .NET, jQuery and Web Development articles in 2011

With 2012 fast approaching and 2011 drawing to an end, we’ve put together our list of the Most Popular .NET articles on DevCurry.com this year. The year 2011 featured articles on DevCurry covering many technologies like jQuery, HTML 5, ASP.NET, MVC, S… Continue reading

Posted in .NET, ASP.Net, ASP.NET MVC, CSS, HTML 5, JavaScript, jQuery, Link List, Silverlight, Syndicated | Leave a comment

jQuery 1.7 Custom Events Using .on Method

The browser event model can behave differently in different browsers. jQuery provides a consistent framework to handle standard events like the mouse click in browsers with an easy to understand syntax. However we are not limited to the set of events … Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery Add Elements Dynamically: Performance Tip

jQuery provides several ways of adding elements dynamically into an already existing element. Some methods are: before(), insertBefore() after(), insertAfter(), append, appendTo, prepend, prependTo and so on.

A couple of days ago, I had shared a ti… Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery Event Delegation Improves Performance

In this post, I will share a simple tip of how you can improve jQuery performance by using Event Delegation to add event listeners to the parent element, and in turn, check for events on its children.

First let’s take an example where there are … Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery UI DatePicker Built-In Date Formats

The jQuery UI DatePicker offers plenty of functionality to the developer, and even though well-documented, at times you could miss out on some useful built-in functions. One such functionality is the built-in date formats, available as constants.

W… Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery: Convert Text to Links

I had some italic text in a paragraph and I wanted to convert this text into links, all pointing to the same url. Here’s how this can be done using a single line of jQuery code.

In the example, we have a div element with class ‘cls’ and inside … Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery: Convert Text to Links

I had some italic text in a paragraph and I wanted to convert this text into links, all pointing to the same url. Here’s how this can be done using a single line of jQuery code.

In the example, we have a div element with class ‘cls’ and inside … Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery: Load Page in a Div

Loading an external page in a div using jQuery is as simple as calling the jQuery Load method. The Load() method loads data from the server and places the returned HTML into the matched element.Assuming you have a Div called ‘divOne’ and an anchor … Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery: Load Page in a Div

Loading an external page in a div using jQuery is as simple as calling the jQuery Load method. The Load() method loads data from the server and places the returned HTML into the matched element.Assuming you have a Div called ‘divOne’ and an anchor … Continue reading

Posted in jQuery, Syndicated | Leave a comment

jQuery: Numbering an Unordered List

Here’s a very simple script which adds numbers sequentially to an unordered list using jQuery
Let us assume you have an unordered list as shown below:

To add numbers to it sequentially, use this code:

<script type=”text/javascript”
src=”http:… Continue reading

Posted in jQuery, Syndicated | Leave a comment