/[projects]/android/TrainInfoService/WebContent/compareloader.js
ViewVC logotype

Contents of /android/TrainInfoService/WebContent/compareloader.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1704 - (show annotations) (download) (as text)
Thu Mar 1 07:21:58 2012 UTC (12 years, 2 months ago) by torben
File MIME type: application/javascript
File size: 357 byte(s)
put a dummy label befor ajax call
1
2 $(document).ready( function() {
3 console.log('ready');
4 $(".uri").each( function() {
5 var uri = $(this).attr('uri');
6 var requiredata = $(this).attr('requiredata');
7 $(this).html( '<font color="gray">loading...</font>' );
8 $(this).load( 'CompareStations?uri=' + uri + "&requiredata=" + requiredata);
9 });
10
11 $("#antal").html( $(".uri").length );
12
13 });

  ViewVC Help
Powered by ViewVC 1.1.20