Skip to main content
Fixed some mistakes in the body.
Source Link
Ahmad Adibzad
  • 695
  • 3
  • 12
  • 18

Usually, you should always have a fall backfallback link to make sure that clients with JavaScript disabled still hashave some functionality. This concept is called unobtrusive JavaScript.

Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with JavaScript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

Usually, you should always have a fall back link to make sure that clients with JavaScript disabled still has some functionality. This concept is called unobtrusive JavaScript.

Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with JavaScript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

Usually, you should always have a fallback link to make sure that clients with JavaScript disabled still have some functionality. This concept is called unobtrusive JavaScript.

Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with JavaScript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

Now, its clearer
Source Link
Ashraf.Shk786
  • 623
  • 1
  • 11
  • 23

Usually, you should always have a fall back link to make sure that clients with JavaScript disabled still has some functionality. This concept is called unobtrusive JavaScript. 

Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with JavaScript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

Usually, you should always have a fall back link to make sure that clients with JavaScript disabled still has some functionality. This concept is called unobtrusive JavaScript. Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with JavaScript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

Usually, you should always have a fall back link to make sure that clients with JavaScript disabled still has some functionality. This concept is called unobtrusive JavaScript. 

Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with JavaScript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

added 4 characters in body
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

Usually, you should always have a fall back link to make sure that clients with JavaScript disabled still has some functionality. This concept is called unobtrusive JavaScript. Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with javascriptJavaScript disabled are directed to search.phpsearch.php while your viewers with JavaScript view your enhanced functionality.

Usually, you should always have a fall back link to make sure that clients with JavaScript disabled still has some functionality. This concept is called unobtrusive JavaScript. Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with javascript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

Usually, you should always have a fall back link to make sure that clients with JavaScript disabled still has some functionality. This concept is called unobtrusive JavaScript. Example... Let's say you have the following search link:

<a href="search.php" id="searchLink">Search</a> 

You can always do the following:

var link = document.getElementById('searchLink'); link.onclick = function() { try { // Do Stuff Here } finally { return false; } }; 

That way, people with JavaScript disabled are directed to search.php while your viewers with JavaScript view your enhanced functionality.

Post Made Community Wiki by Berker Yüceer
Source Link
Andrew Moore
  • 95.8k
  • 30
  • 167
  • 175
Loading