Results 1 to 10 of 10

Thread: javascript

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167

    javascript

    javascript, ( ).

  2. #2
    ! vbTheKing's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 4,138
    ? - , .
    ''? * *
    - !
    ...

  3. #3
    Registered User JACK's Avatar
    Join Date: Mar:2004
    Location:
    Posts: 651
    - JavaScript - , node.js, Windows Scripting Host... ? , - ?

  4. #4
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    Quote Originally Posted by JACK View Post
    , - ?

    , ( ) JACK. - web , , ( )?
    Last edited by Pesho; 2nd September 2010 at 03:20.
    , !

  5. #5
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    , . "", , - . :
    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>
    jquery.csv.js_0.txt plugins jquery . :



    - .csv (Comma-separated values) .

  6. #6
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    , . , .

  7. #7
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    Quote Originally Posted by hotris View Post
    , . , .

    AJAX / XMLHttpRequest. jQuery, - jQuery.get() jQuery.ajax(). ajax , jQuery.ajax().
    Last edited by Pesho; 2nd September 2010 at 18:21.
    , !

  8. #8
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167
    Pesho, . , jQuery.get() jQuery.ajax(), " " .. ( ). -, - .

  9. #9
    Registered User bombov's Avatar
    Join Date: Jan:2007
    Location:
    Posts: 260
    $.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/

  10. #10
    Registered User hotris's Avatar
    Join Date: Dec:2007
    Location: Sofia
    Posts: 167

    :
    $(document).ready(function()
    {
    $.get("test.csv",
    function(data){
    var lines = jQuery.csv() (data);
    document.write(lines[i][j]);
    });
    });

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |