Click here to Skip to main content
15,946,988 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Secure Emaildata base Pin
ZurdoDev7-Aug-13 9:33
professionalZurdoDev7-Aug-13 9:33 
Questionwhy kendo grid popup editing doesn't show popup Pin
log9817-Jul-13 2:20
log9817-Jul-13 2:20 
SuggestionRe: why kendo grid popup editing doesn't show popup Pin
ZurdoDev17-Jul-13 7:30
professionalZurdoDev17-Jul-13 7:30 
Questionjavascript shift-reduce parser Pin
Ivan Vodišek16-Jul-13 2:58
Ivan Vodišek16-Jul-13 2:58 
AnswerRe: javascript shift-reduce parser Pin
Ivan Vodišek17-Jul-13 2:02
Ivan Vodišek17-Jul-13 2:02 
GeneralRe: javascript shift-reduce parser Pin
Richard MacCutchan17-Jul-13 4:59
mveRichard MacCutchan17-Jul-13 4:59 
AnswerRe: javascript shift-reduce parser Pin
Dholakiya Ankit8-Aug-13 18:24
Dholakiya Ankit8-Aug-13 18:24 
QuestionCascading Dropdowns Pin
eddieangel15-Jul-13 8:42
eddieangel15-Jul-13 8:42 
I am sure this has been asked a million times, but I am going to ask again because I can't find a good answer to my specific issue. I am using MVC asp.net and I want to load data through Ajax when a row in a Telerik grid goes into edit mode. I can get the data to load and everything is good, but I can't get the cascading drop down to work. Here is my change event code, the error is somewhere in here:



JavaScript
$(document).ready(function () {

    $('#categoryId').live('change', function () {
        var defects = $('#defectId');
        if ($('#categoryId option:selected').val() != '') {

            $.ajax({
                data: { categoryId: $('categoryId option:selected').val() },
                type: "GET",
                url: '@Url.Action("_GetDefectsByCategory", "Observation")',
                success: function (data) {
                    defects.dataBind(data);
                    defects.reload();
                    alert("Successfully bound.");
                },
                error: function () {
                    alert("Failed to bind defects.");

                }
            })
        };
    });
});


The alerts are there for debugging purposes, obviously. I am not natively a JScript person as I typically work in strictly OO Client-Server environments, any help would be appreciated.

Cheers, --EA
AnswerRe: Cascading Dropdowns Pin
Jasmine250117-Jul-13 5:41
Jasmine250117-Jul-13 5:41 
Generalcss Pin
tarun kumar sahu hs15-Jul-13 1:20
tarun kumar sahu hs15-Jul-13 1:20 
GeneralRe: css Pin
AlphaDeltaTheta15-Jul-13 6:22
AlphaDeltaTheta15-Jul-13 6:22 
GeneralRe: css Pin
RedDk15-Jul-13 7:34
RedDk15-Jul-13 7:34 
GeneralRe: css Pin
vbmike16-Jul-13 9:08
vbmike16-Jul-13 9:08 
GeneralRe: css Pin
Dholakiya Ankit8-Aug-13 18:25
Dholakiya Ankit8-Aug-13 18:25 
Questiontext change event Pin
tarun kumar sahu hs15-Jul-13 1:19
tarun kumar sahu hs15-Jul-13 1:19 
SuggestionRe: text change event Pin
ZurdoDev17-Jul-13 7:35
professionalZurdoDev17-Jul-13 7:35 
QuestionWhat is the mistake ?? Pin
Joe Rozario12-Jul-13 19:24
Joe Rozario12-Jul-13 19:24 
AnswerRe: What is the mistake ?? Pin
Graham Breach12-Jul-13 22:13
Graham Breach12-Jul-13 22:13 
AnswerRe: What is the mistake ?? Pin
jsampathkumar13-Jul-13 3:07
professionaljsampathkumar13-Jul-13 3:07 
AnswerRe: What is the mistake ?? Pin
Santosh K. Tripathi14-Jul-13 17:40
professionalSantosh K. Tripathi14-Jul-13 17:40 
AnswerRe: What is the mistake ?? Pin
Dholakiya Ankit8-Aug-13 18:29
Dholakiya Ankit8-Aug-13 18:29 
Questiongame development in java script Pin
Mr.Haseeb11-Jul-13 9:16
Mr.Haseeb11-Jul-13 9:16 
QuestionRe: game development in java script Pin
ZurdoDev17-Jul-13 7:36
professionalZurdoDev17-Jul-13 7:36 
QuestionLoad json data into data grid using javascript Pin
mohanlal_889-Jul-13 3:03
mohanlal_889-Jul-13 3:03 
GeneralRe: Load json data into data grid using javascript Pin
AlphaDeltaTheta12-Jul-13 23:11
AlphaDeltaTheta12-Jul-13 23:11 

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.