Best approch for building link in JQuery with paramaters

Posted by MrW on Stack Overflow See other posts from Stack Overflow or by MrW
Published on 2010-03-16T15:16:30Z Indexed on 2010/03/16 15:41 UTC
Read the original article Hit count: 285

Filed under:
|
|
|
|

Hi,
Very new to JQuery and MVC and webdevelopment over all. I'm now trying to accomplish this and is asking for a bit of advise:

I'm basically trying to build a filter with 4 input elements, and 1 output.

I have 4 select (drop down) elements in my page. As soon as one of them is changed, I need to build a href and get the partial view with the return values.

My questionis now if I should try to build the href in the select element or if I can do it once in jquery, and don't have to have duplicated code. How would I accomplish this?

© Stack Overflow or respective owner

Related posts about mvc

Related posts about jQuery