Ajax (programming): Difference between revisions

Content deleted Content added
rvv
Line 121:
Websites that use Ajax to load data which should be indexed by [[search engines]] must be careful to provide equivalent data at a public, linked URL and in a format that the search engine can read, as search engines do not generally execute the JavaScript code required for Ajax functionality. This problem is not specific to Ajax, as the same issue occurs with sites that provide dynamic data as a full-page refresh in response to, say, a form submit (the general problem is sometimes called the hidden, or [[deep web]]).
 
''====Reliance on JavaScript====
Ajax relies on JavaScript, which may be implemented differently by different browsers or versions of a particular browser. Because of this, sites that use JavaScript may need to be tested in multiple browsers to check for [[Cross-platform#Web applications|compatibility]] issues. It's not uncommon to see a JavaScript code written twice, one part for IE, another part for Mozilla compatibles (see also Cross-platform Web Applications), although this is less true with the release of IE7 and with the now-common use of JavaScript abstraction libraries like [http://www.prototypejs.org prototype]. Such libraries abstract browser-specific differences from the web developer.