locked
WebMatrix - jQuery Cascading Dropdown Lists RRS feed

  • Question

  • User-735851359 posted

    Hello,

    I followed the following article;

    http://www.mikesdotnetting.com/article/196/webmatrix-jquery-cascading-dropdown-lists

    I cannot make it work. It does not give any error. I think Ajax is not active. What is the key? 

    I downloaded the ready example it works. I copy my files to the ready example, and my files also work.

    What is the point? Maybe I need to add some packages to make ajax enabled. 

    What are these files? .gitattributes and .gitignore in the example.

    I tried that in my site.

    Help me please..

    Monday, February 16, 2015 6:53 AM

Answers

  • User-821857111 posted

    What are these files? .gitattributes and .gitignore in the example.

    Ignore them. They are configuration files for git - the repository where the files are stored.

    First thing to do when debugging ajax calls is to hit F12 in your Chrome or IE browser to activate the developer tools. Then make sure the Network tab is selected and change the selection in the first dropdown to see if it causes a request to be made. Then look at the response and make sure it is what you expect.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 16, 2015 8:07 AM
  • User379720387 posted

    There is nothing you need except jquery.

    What version are you on?

    time to post your code.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 16, 2015 8:25 AM

All replies

  • User-821857111 posted

    What are these files? .gitattributes and .gitignore in the example.

    Ignore them. They are configuration files for git - the repository where the files are stored.

    First thing to do when debugging ajax calls is to hit F12 in your Chrome or IE browser to activate the developer tools. Then make sure the Network tab is selected and change the selection in the first dropdown to see if it causes a request to be made. Then look at the response and make sure it is what you expect.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 16, 2015 8:07 AM
  • User379720387 posted

    There is nothing you need except jquery.

    What version are you on?

    time to post your code.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 16, 2015 8:25 AM
  • User-735851359 posted

    Thank you for answers.

    I made it work. All the ways you recommend I followed.

    I think the problem was related with the code in the _SiteLayout in the PageStart.

    Tuesday, February 17, 2015 1:53 AM