SHARE
TWEET

Untitled

a guest Jun 20th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function stream()
  2. {
  3.  
  4.  
  5.     var line_Number = $('#lineNumber').val();
  6.     var post_code = '#lineText';
  7.     var post_id = $('#Streamid').val();
  8.     if (post_code != ''){
  9.  
  10.     $.ajax({
  11.       url: "post-code.php",
  12.       method: "POST",
  13.       data: {lineText: post_code, postId: post_id, lineNo: line_Number},
  14.       dataType: "text",
  15.       success: function(data){
  16.         if(data != ''){
  17.           $('#Streamid').val(data);
  18.         }
  19.         $('#autoStream').text("Sending data");
  20.           setInterval(function(){
  21.             $('#autoStream').text('');
  22.           }, 100);
  23.       }
  24.     });
  25.   }
  26. }
  27.      
  28. var text;
  29.      var lineNumber;
  30.      var lineText;
  31.      var numOfSpaces;
  32.  
  33.  
  34.  
  35.  
  36.    function update(e) {
  37.  
  38.        text = //code
  39.        lineNumber = //code
  40.        lineText = //code
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top