Retrieve URL Query String with JQuery

Here’s a quick and easy way to get a query string from your URL using jquery. Suppose you have the following URL: www.myurl.com?page=mypage. Use the code below to retrieve page=mypage. Of course this can be any name/value pair…

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script type="text/javascript">
  function getQuerystring(key, default_){
    if (default_==null) default_="";
    key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
    var regex = new RegExp("[\\?&]"+key+"=([^&#]*)");
    var qs = regex.exec(window.location.href);
    if(qs == null)
      return default_;
   else
     return qs[1];
 }	
 var urlString = getQuerystring('page');
 
  $(document).ready(function(){
    if ( urlString == 'mypage' ) {  
      //Do something with jquery here
    }
  });
</script>

Apples VS Apple

Every year the world keeps on eating up food and technology, but just how much more do people prefer juicy red apples over a succulent iPad? Here we explore how the behemoth tech giant Apple stacks up against America’s favorite shiny fruit. In 2009 138,000 Apple iPads were created, a total worth of around $32 billion. The numbers are pretty outstanding if you compare these Apples to apples — in the same year, total production of the fruit panned out at around $30 billion. If it’s true that an apple a day keeps the doctor away, the world ought to have a pretty healthy outlook for the years to come.

Read more »

101 Blogging And Inbound Marketing

Blog MarketingOne of the most effective inbound marketing strategies available for businesses, online and offline, both in terms of cost of implementation and in overall return on investment (ROI), is blogging. Why has business blogging become so important as an inbound marketing strategy? There are a variety of reasons. Blogging is conversation, it’s personable, and it’s informative. Blogging is attractive for both online and offline (i.e., brick and mortar) businesses because consumers (i.e., customers, clients, and patients) feel they are being told a story rather than sold a product or service; and, no one wants to be “sold!”

Read more »

Funny Halloween Faces

NIGHTMARES FEAR FACTORY, located in Niagara Falls Canada, has been on the cutting edge of sheer fright for over 30 years. Often imitated but never duplicated, NIGHTMARES is the longest running and scariest haunted house in North America, possibly the world.

Here’s a collection of some guys looking like they’re about to shit their pants, the looks on their faces are just priceless!

Read more »

Infographic: The Growing Importance of Mobile Website Optimization

[ Click the image to enlarge]

The Growing Importance of Mobile Website Optimization

Source: The Growing Importance of Mobile Website Optimization Infographic

6 Six Famous (and Sort of Famous) People Who Worked As Dental Assistants

Even though no one likes going to the dentist, a career in dentistry (including dental assisting) is a great way to get started. Here are six people who have moved on to other things, but started their professional careers by earning a dental assisting certificate.

Ruth Hartman, Author of Pillow Talk: Ruth Hartman is a romance writer who has nearly a dozen works to her credit, including My Life In Mental Chains,” a memoir about her own struggle with Obsessive-Compulsive Disorder. Her romances often feature dental assistants, dentists and others working in the dental industry. She maintains her dental assisting license and lives in rural Indiana with her husband.

Read more »

Infographic: What is a Reverse Proxy?

Reverse Proxy Infographic

Keep DLL Errors At Bay

Keep DLL Errors At Bay And Boost The Performance Of Your Computer

It is no secret that frequent computer errors seriously affect a computer’s efficiency and can hamper productivity. Over time, almost all computers slow down and become prone to errors. However, this aging process of computers can be reversed and your computer can be nearly as fast as it was when you purchased it.

To enjoy a nearly error-free computer, all you will require is some basic knowledge and a conscious effort to take care of your computer. Expertise in computers is an additional advantage but not a necessity. To validate our point, we’ve compiled a list of some useful pointers that will help you avoid one of the most common computer application errors – DLL errors.

Read more »

Infographic: Chicago VS New York

Spring time is here, perfect time to visit a city that perhaps you haven’t visited before. When it comes to a fast paced city life, Chicago and New York definitely takes the cake. Exactly what makes these 2 cities so appealing to out of towners? Check out the comparison below.

Read more »

Steps To Deal with Windows PC Problems

One has to agree that errors are an inevitable part of a computer system. No matter what precautions are taken, there will be frequent system stalling and crashes every now and then.  However, it is when these issues become routine that one should start worrying. Errors such as the alg.exe error caused by improper utilization of network ports by software can be very difficult to figure out.

With the right tools and guidance however, these errors can be avoided to a large extent. But first, let us understand what the common causes of computer errors are.

Read more »

Connect With Me

Check out my about.me profile!

Latest Testimonial

"Jon is very professional; quick response to all questions and emails, very clear communication, and excellent work with very quick turnaround..."
[ ...read more... ]

Matt — 3/6/12