/[drupal]/contributions/modules/ajax_views/ajax_views.js
ViewVC logotype

Contents of /contributions/modules/ajax_views/ajax_views.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Wed Jan 16 23:39:47 2008 UTC (22 months, 1 week ago) by febbraro
Branch: MAIN
CVS Tags: DRUPAL-5--1-5, DRUPAL-5--1-4, DRUPAL-5--1-1, DRUPAL-5--1-0, DRUPAL-5--1-3, DRUPAL-5--1-2, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/javascript
initial import
1
2 /**
3 * Fetches the new page and puts it inline.
4 * @param id - The element id whose contents will get replaced
5 * @param viewUrl - The URL for the new page
6 * @param page - The page number to request
7 */
8 function fetchPage(id, viewUrl, page) {
9 $.get(viewUrl, {page: page}, function(data, status) {
10 $(id).html(data);
11 });
12 return false;
13 }

  ViewVC Help
Powered by ViewVC 1.1.2