Click here to Skip to main content
15,884,838 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
This Code is not giving output even if there is no errors.Is this code is correct to get solution for the given Question.
JSON
success: function (data) {
              $(".tab-content col-md-9 #tab1").append("<div>'" + data.d+ "'</div>");

}
Posted
Comments
Sinisa Hajnal 28-Jan-15 2:33am    
Depends on what your data is. Can you post part of your data object? Try using console.log(data.d) to get the values from data (it will write it out into browser console window).

Also, since you're using tab id (#tab1) everything before it is unnecessary. Just use $("#tab1")

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900