Results 1 to 10 of 10
Thread: javascript
Hybrid View
-
31st August 2010 23:29 #1
-
31st August 2010 23:39 #2
-
1st September 2010 07:49 #3
-
JavaScript - , node.js, Windows Scripting Host... ? , - ?
-
2nd September 2010 02:38 #4
-
1st September 2010 20:56 #5
, . "", , - . :
jquery.csv.js_0.txt plugins jquery . :Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>new try</title> <html> <head> <title>CSVtest</title> <script type="text/javascript" src="jquery-1.4.2.min.js"></script> <script type="text/javascript" src="jquery.csv.js_0.txt"></script> <script type="text/javascript"> $(document).ready(function() { var lines = jQuery.csv() (" \r\n, , ,\r\n , , \r\n .csf , "); document.write(lines[3][1]); }); </script> </head> <body> </body> </html>
- .csv (Comma-separated values) .
-
2nd September 2010 18:12 #6
-
2nd September 2010 18:16 #7
-
2nd September 2010 20:56 #8
Pesho, . , jQuery.get() jQuery.ajax(), " " .. ( ). -, - .
-
2nd September 2010 22:05 #9
$.get("my_url.php", { params1: "variable1", params2: "variable2" } );
Example: Request the test.php page and send some additional data along (while still ignoring the return results).
$.get("test.php", { name: "John", time: "2pm" } );
Example: pass arrays of data to the server (while still ignoring the return results).
$.get("test.php", { 'choices[]': ["Jon", "Susan"]} );
http://api.jquery.com/jQuery.get/
-
3rd September 2010 20:33 #10
:$(document).ready(function()
{
$.get("test.csv",
function(data){
var lines = jQuery.csv() (data);
document.write(lines[i][j]);
});
});




Reply With Quote


Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in