Click here to Skip to main content
14,608,021 members

Work Issues

 
AnswerRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
Richard Deeming10-May-18 5:53
mveRichard Deeming10-May-18 5:53 
GeneralRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
0x01AA10-May-18 5:55
mve0x01AA10-May-18 5:55 
AnswerRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
Nathan Minier10-May-18 5:58
professionalNathan Minier10-May-18 5:58 
GeneralRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
0x01AA10-May-18 6:04
mve0x01AA10-May-18 6:04 
QuestionGetting negative votes from author without mentioning proper reason Pin
Biswal Tanmaya10-Dec-17 6:41
professionalBiswal Tanmaya10-Dec-17 6:41 
AnswerRe: Getting negative votes from author without mentioning proper reason Pin
Pete O'Hanlon10-Dec-17 7:58
subeditorPete O'Hanlon10-Dec-17 7:58 
QuestionIf a silver member gives a negative comment against a solved code Pin
Laxmidhar tatwa technologies20-Nov-17 19:05
MemberLaxmidhar tatwa technologies20-Nov-17 19:05 
AnswerRe: If a silver member gives a negative comment against a solved code Pin
F-ES Sitecore22-Nov-17 23:28
mveF-ES Sitecore22-Nov-17 23: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%>"); //<
GeneralRe: If a silver member gives a negative comment against a solved code Pin
Laxmidhar tatwa technologies23-Nov-17 0:40
MemberLaxmidhar tatwa technologies23-Nov-17 0:40 
QuestionRelated point Pin
Laxmidhar tatwa technologies20-Nov-17 17:48
MemberLaxmidhar tatwa technologies20-Nov-17 17:48 
AnswerRe: Related point Pin
ZurdoDev21-Nov-17 1:28
mveZurdoDev21-Nov-17 1:28 
GeneralRe: Related point Pin
Laxmidhar tatwa technologies22-Nov-17 18:08
MemberLaxmidhar tatwa technologies22-Nov-17 18:08 
QuestionWhere is my article ? Pin
Kishan Zunjare3-Nov-17 20:07
MemberKishan Zunjare3-Nov-17 20:07 
AnswerRe: Where is my article ? Pin
Afzaal Ahmad Zeeshan3-Nov-17 23:00
mvaAfzaal Ahmad Zeeshan3-Nov-17 23:00 
QuestionHow to write a programming language in Hindi? Pin
INDtanay5-Oct-17 6:01
MemberINDtanay5-Oct-17 6:01 
AnswerRe: How to write a programming language in Hindi? Pin
Member 1349103928-Oct-17 20:29
MemberMember 1349103928-Oct-17 20:29 
PraiseRe: How to write a programming language in Hindi? Pin
INDtanay22-Nov-17 20:19
MemberINDtanay22-Nov-17 20:19 
GeneralRe: How to write a programming language in Hindi? Pin
Member 1349103923-Nov-17 4:26
MemberMember 1349103923-Nov-17 4:26 
GeneralRe: How to write a programming language in Hindi? Pin
INDtanay23-Nov-17 6:01
MemberINDtanay23-Nov-17 6:01 
GeneralRe: How to write a programming language in Hindi? Pin
Member 1349103927-Nov-17 17:07
MemberMember 1349103927-Nov-17 17:07 
QuestionWorking with software houses / SDLC expertise Pin
JohnLBevan4-Oct-17 0:30
professionalJohnLBevan4-Oct-17 0:30 
SuggestionDrop Down Issue Pin
Member 1332500523-Jul-17 21:04
MemberMember 1332500523-Jul-17 21:04 
GeneralRe: Drop Down Issue Pin
Richard Deeming24-Jul-17 8:07
mveRichard Deeming24-Jul-17 8:07 
QuestionOf Code and Comments Pin
I.explore.code30-Jun-17 8:19
MemberI.explore.code30-Jun-17 8:19 
AnswerRe: Of Code and Comments Pin
David A. Gray30-Jun-17 9:22
MemberDavid A. Gray30-Jun-17 9:22 

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.