Click here to Skip to main content
13,800,326 members

Work Issues

 
QuestionMessage Closed Pin
29-Oct-18 21:46
groupMick Milton29-Oct-18 21:46 
QuestionWeb developer employment Pin
Member 1399749525-Sep-18 12:10
memberMember 1399749525-Sep-18 12:10 
GeneralMessage Removed Pin
1-Aug-18 20:38
groupvashikaran1-Aug-18 20:38 
QuestionMessage Removed Pin
1-Aug-18 20:34
groupvashikaran1-Aug-18 20:34 
QuestionMessage Removed Pin
1-Aug-18 20:29
groupvashikaran1-Aug-18 20:29 
QuestionWhat is the best programming language for developing ERPs Pin
Maria Okta25-Jul-18 18:20
professionalMaria Okta25-Jul-18 18:20 
AnswerRe: What is the best programming language for developing ERPs Pin
Richard Deeming26-Jul-18 2:57
mvpRichard Deeming26-Jul-18 2:57 
AnswerRe: What is the best programming language for developing ERPs Pin
ElisaCurl12-Sep-18 1:27
memberElisaCurl12-Sep-18 1:27 
QuestionLaunching Visual Studio From External Hard Drive Pin
Keith@Stand21-Jul-18 7:42
memberKeith@Stand21-Jul-18 7:42 
QuestionSome things that are bothering me about file/data corruption Pin
Thaana Paana27-Jun-18 3:38
memberThaana Paana27-Jun-18 3:38 
QuestionWhat is the business world like for a programmer? Pin
Member 1388205321-Jun-18 12:02
memberMember 1388205321-Jun-18 12:02 
AnswerRe: What is the business world like for a programmer? Pin
Nitin Sawant11-Jul-18 1:25
professionalNitin Sawant11-Jul-18 1:25 
AnswerRe: What is the business world like for a programmer? Pin
Nathan Minier26-Jul-18 3:39
professionalNathan Minier26-Jul-18 3:39 
GeneralRe: What is the business world like for a programmer? Pin
kmoorevs12-Aug-18 7:56
memberkmoorevs12-Aug-18 7:56 
Question[Solved] Private/Public Key Pair, I'm unsure, please help to clarify Pin
0x01AA10-May-18 6:27
professional0x01AA10-May-18 6:27 
AnswerRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
Richard Deeming10-May-18 6:53
mvpRichard Deeming10-May-18 6:53 
GeneralRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
0x01AA10-May-18 6:55
professional0x01AA10-May-18 6:55 
AnswerRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
Nathan Minier10-May-18 6:58
professionalNathan Minier10-May-18 6:58 
GeneralRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
0x01AA10-May-18 7:04
professional0x01AA10-May-18 7:04 
QuestionGetting negative votes from author without mentioning proper reason Pin
Biswal Tanmaya10-Dec-17 7:41
professionalBiswal Tanmaya10-Dec-17 7:41 
AnswerRe: Getting negative votes from author without mentioning proper reason Pin
Pete O'Hanlon10-Dec-17 8:58
protectorPete O'Hanlon10-Dec-17 8:58 
QuestionIf a silver member gives a negative comment against a solved code Pin
Laxmidhar tatwa technologies20-Nov-17 20:05
memberLaxmidhar tatwa technologies20-Nov-17 20:05 
AnswerRe: If a silver member gives a negative comment against a solved code Pin
F-ES Sitecore23-Nov-17 0:28
mvpF-ES Sitecore23-Nov-17 0:28 
People downvote for all sorts of reasons, it's annoying when your answer is given a bad rating just because the poster didn't understand\try the code, or whatever, but overall those votes are countered by the better votes you get.

I looked at the last few answers you gave though, and I guess a reason you're getting so many low grades is because you're not properly formatting the code in your answers so it is hard for people to follow. Learn how to use the "pre" tags, or paste your code into the solution box so you get a pop-up asking how you want the pasted code to be formatted and select the appropriate option.

Do this

$(document).ready(function () {
    var select = $("#<%=lblMultiSelect.ClientID%>");
    var senddata = select.val();
    var txt = $("#<%=listBoxValue.ClientID%>"); //<<just putting id to a textbox here for testing purposes

    select.change(function (e) {
        $.ajax({
            type: "POST",
            url: "CS.aspx/GetCurrentTime",
            data: '{name: "' + senddata + '" }',
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: OnSuccess,
            failure: function(response) {
                alert(response.d);
            }
        });
    });
});

function OnSuccess(response) {
    $.each(response, function (i, el) {

        // your code for listbox

    });
}


not this

$(document).ready(function () {
var select = $("#<%=lblMultiSelect.ClientID%>");
var senddata = select.val();
var txt = $("#<%=listBoxValue.ClientID%>"); //<<just putting id to a textbox here for testing purposes

select.change(function (e) {
$.ajax({
type: "POST",
url: "CS.aspx/GetCurrentTime",
data: '{name: "' + senddata + '" }',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess,
failure: function(response) {
alert(response.d);
}
});
});
});
function OnSuccess(response) {
$.each(response, function (i, el) {

// your code for listbox

});
}
GeneralRe: If a silver member gives a negative comment against a solved code Pin
Laxmidhar tatwa technologies23-Nov-17 1:40
memberLaxmidhar tatwa technologies23-Nov-17 1:40 
QuestionRelated point Pin
Laxmidhar tatwa technologies20-Nov-17 18:48
memberLaxmidhar tatwa technologies20-Nov-17 18:48 

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.


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.181214.1 | Last Updated 12 Aug 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid