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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1700 - (hide annotations) (download) (as text)
Wed Feb 29 14:20:31 2012 UTC (12 years, 3 months ago) by torben
File MIME type: application/javascript
File size: 258 byte(s)
use ajax/jquery for loading compare data
1 torben 1700
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).load( 'CompareStations?uri=' + uri + "&requiredata=" + requiredata);
8     });
9    
10     });

  ViewVC Help
Powered by ViewVC 1.1.20