Click here to Skip to main content
16,021,115 members
Home / Discussions / Work Issues
   

Work Issues

 
GeneralRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
User 1106097910-May-18 6:04
User 1106097910-May-18 6:04 
GeneralRe: Private/Public Key Pair, I'm unsure, please help to clarify Pin
User 1407655213-Jul-21 21:46
User 1407655213-Jul-21 21:46 
QuestionMessage Removed Pin
15-Jan-18 18:03
Heath Kim15-Jan-18 18:03 
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
mvePete O'Hanlon10-Dec-17 7:58 
GeneralRe: Getting negative votes from author without mentioning proper reason Pin
Deepak Vasudevan13-Sep-21 21:37
Deepak Vasudevan13-Sep-21 21:37 
QuestionIf a silver member gives a negative comment against a solved code Pin
Laxmidhar tatwa technologies20-Nov-17 19:05
Laxmidhar 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
professionalF-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
Laxmidhar tatwa technologies23-Nov-17 0:40 
QuestionRelated point Pin
Laxmidhar tatwa technologies20-Nov-17 17:48
Laxmidhar tatwa technologies20-Nov-17 17:48 
AnswerRe: Related point Pin
ZurdoDev21-Nov-17 1:28
professionalZurdoDev21-Nov-17 1:28 
GeneralRe: Related point Pin
Laxmidhar tatwa technologies22-Nov-17 18:08
Laxmidhar tatwa technologies22-Nov-17 18:08 
QuestionWhere is my article ? Pin
Kishan Zunjare3-Nov-17 20:07
Kishan Zunjare3-Nov-17 20:07 
AnswerRe: Where is my article ? Pin
Afzaal Ahmad Zeeshan3-Nov-17 23:00
professionalAfzaal Ahmad Zeeshan3-Nov-17 23:00 
QuestionHow to write a programming language in Hindi? Pin
INDtanay5-Oct-17 6:01
INDtanay5-Oct-17 6:01 
AnswerRe: How to write a programming language in Hindi? Pin
Member 1349103928-Oct-17 20:29
Member 1349103928-Oct-17 20:29 
PraiseRe: How to write a programming language in Hindi? Pin
INDtanay22-Nov-17 20:19
INDtanay22-Nov-17 20:19 
GeneralRe: How to write a programming language in Hindi? Pin
Member 1349103923-Nov-17 4:26
Member 1349103923-Nov-17 4:26 
GeneralRe: How to write a programming language in Hindi? Pin
INDtanay23-Nov-17 6:01
INDtanay23-Nov-17 6:01 
GeneralRe: How to write a programming language in Hindi? Pin
Member 1349103927-Nov-17 17:07
Member 1349103927-Nov-17 17:07 
GeneralMessage Closed Pin
4-Jan-22 19:03
JK-8584-Jan-22 19:03 
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
Member 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
I.explore.code30-Jun-17 8:19 

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.