Click here to Skip to main content
15,887,027 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionJquery JqGrid Pin
Member 962382927-Mar-13 2:30
professionalMember 962382927-Mar-13 2:30 
AnswerRe: Jquery JqGrid Pin
Jasmine250127-Mar-13 7:48
Jasmine250127-Mar-13 7:48 
QuestionBall to Ball collision handling Pin
SRJ9226-Mar-13 14:19
SRJ9226-Mar-13 14:19 
AnswerRe: Ball to Ball collision handling Pin
Kenneth Haugland26-Mar-13 15:29
mvaKenneth Haugland26-Mar-13 15:29 
GeneralRe: Ball to Ball collision handling Pin
dusty_dex26-Mar-13 21:00
dusty_dex26-Mar-13 21:00 
GeneralRe: Ball to Ball collision handling Pin
Kenneth Haugland26-Mar-13 22:01
mvaKenneth Haugland26-Mar-13 22:01 
AnswerRe: Ball to Ball collision handling Pin
SRJ9227-Mar-13 4:04
SRJ9227-Mar-13 4:04 
QuestionAjax request call using jquery Pin
Raj G121-Mar-13 2:49
Raj G121-Mar-13 2:49 
I m using the below code.But my page is taking much time to render.I m APS.net developer .Please suggest me solution.







XML
function GetRecord() {
           $.ajax({
               type: "POST",
               url: "abc.aspx/GetData",
               data: "{NextPreviousYear:'" + parseInt($("#hdnNextPervious").val()) + "'}",
               contentType: "application/json; charset=utf-8",
               dataType: "json",
               success: OnSuccessCall,
               error: OnErrorCall
           })
       }

       function OnSuccessCall(response) {
           $j(document).ready(function () {
               var xmlDoc = $.parseXML(response.d);
               var xml = $(xmlDoc);
               var tblcalendar = xml.find("Report");
               $('.tbl_calendar').html('');
               $.each(tblcalendar, function (index) {
                   var row = "<tr>";
                   row += "<th>" + $(this).find("Month").text() + "</th>";
                   row += "<td class=" + $(this).find("D1").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D2").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D3").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D4").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D5").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D6").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D7").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D8").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D9").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D10").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D11").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D12").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D13").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D14").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D15").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D16").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D17").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D18").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D19").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D20").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D21").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D22").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D23").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D24").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D25").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D26").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D27").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D28").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D29").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D30").text() + "> &nbsp; </td>";
                   row += "<td class=" + $(this).find("D31").text() + "> &nbsp; </td>";
                   row += "</tr>";
                   $(".tbl_calendar").append(row);
               });

           });
       }
       function OnErrorCall(response) {
           alert(response.status + " " + response.statusText);
       }

Raj
ASP.net Developer

GeneralRe: Ajax request call using jquery Pin
dusty_dex21-Mar-13 8:33
dusty_dex21-Mar-13 8:33 
GeneralRe: Ajax request call using jquery Pin
jkirkerx21-Mar-13 9:24
professionaljkirkerx21-Mar-13 9:24 
GeneralSlide show Pin
Tichaona J21-Mar-13 0:10
Tichaona J21-Mar-13 0:10 
GeneralRe: Slide show Pin
Graham Breach21-Mar-13 1:37
Graham Breach21-Mar-13 1:37 
GeneralRe: Slide show Pin
jkirkerx21-Mar-13 7:55
professionaljkirkerx21-Mar-13 7:55 
GeneralRe: Slide show Pin
alisener198022-Mar-13 9:41
alisener198022-Mar-13 9:41 
QuestionA question to dust_dex Pin
Hakan Bulut20-Mar-13 22:51
Hakan Bulut20-Mar-13 22:51 
AnswerRe: A question to dust_dex Pin
dusty_dex21-Mar-13 5:29
dusty_dex21-Mar-13 5:29 
GeneralRe: A question to dust_dex Pin
Hakan Bulut24-Mar-13 21:13
Hakan Bulut24-Mar-13 21:13 
GeneralRe: A question to dust_dex Pin
dusty_dex24-Mar-13 21:53
dusty_dex24-Mar-13 21:53 
GeneralRe: A question to dust_dex Pin
Hakan Bulut24-Mar-13 23:47
Hakan Bulut24-Mar-13 23:47 
GeneralRe: A question to dust_dex Pin
Hakan Bulut25-Mar-13 1:11
Hakan Bulut25-Mar-13 1:11 
GeneralRe: A question to dust_dex Pin
dusty_dex25-Mar-13 7:25
dusty_dex25-Mar-13 7:25 
GeneralRe: A question to dust_dex Pin
Hakan Bulut25-Mar-13 3:21
Hakan Bulut25-Mar-13 3:21 
GeneralRe: A question to dust_dex Pin
Hakan Bulut25-Mar-13 3:22
Hakan Bulut25-Mar-13 3:22 
GeneralRe: A question to dust_dex Pin
dusty_dex25-Mar-13 8:53
dusty_dex25-Mar-13 8:53 
GeneralRe: A question to dust_dex Pin
Hakan Bulut25-Mar-13 21:21
Hakan Bulut25-Mar-13 21:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.