Skip to content
Loading
  • Kiran Mohanty
    +1
    You can achieve it using below code.
    1. $.ajax({  
    2.         type: "POST",  
    3.         url: "rul",  
    4.         dataType: "text",  
    5.         data: JSON.stringify({ input: input }),  
    6.         contentType: "application/json; charset=utf-8",  
    7.         success: function (data) {  
    8.            if(!data){  
    9.                return ;  
    10.             }  
    11.              $.each(data, function( index, value ) {  
    12.                   $("#ulOrder").append("
    13. "+ value + "
    14. ");  
    15.              });  
    16.         },  
    17.         error: function (textStatus, errorThrown) {  
    18.   
    19.         }  
    20.   
    21.     });  
     
    +1
  • +1
    Darshan Shah I have data in database so now i want to load them in table using javascript directly in
  • tag and heading in
      tag passing there values from database
  • +1