asp.net mvc: handling no-javascript

Posted by Bala R on Stack Overflow See other posts from Stack Overflow or by Bala R
Published on 2010-04-05T18:35:41Z Indexed on 2010/04/05 18:43 UTC
Read the original article Hit count: 520

Filed under:
|
|

Hello, I'm working on a asp.net mvc2 app. I have been using jquery to do various different things in all of my views. They are work from a regular browser quite well. But I'm trying to figure out a good way to get the functionality working with browsers with javascript disabled (like mobile browsers). Is there a way to define a whole different view for non javascript browsers?

A specific example of what I'm trying to do is, I have a with it's onClick calling a javascript that does $.post() to a controller.

What's a good way to make it, so, it works the way it works right now (doing ajax calls) with regular javascript-enabled browsers and it a also works with javascript-incapable browsers, doing a full postback ?

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc