1

I am using jquery ajax function for loading content of a dropdown on change of another dropdown this works fine, Now when i disable javascript i want my form to submit on change of that dropdown so i can load that content in another dropdown after post back because that ajax function wouldnt work how i can do this. I am using Asp.Net MVC 2 and jQuery

2 Answers 2

1

You can't use onChange when javascript is disabled - it's a javascript function.

The think you could do is to put a submit button in the form and when the javascript is enabled - hide it.

Sign up to request clarification or add additional context in comments.

Comments

0

It's not possible without javascript. You can put a refresh button near the dropdown and hide it when javascript is enabled. On the button's click event you can populate your dropdown.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.