Posts by Alex Silva • 9 points
3 posts
-
0
votes1
answer173
viewsA: Render css/js inside a second Partialview
Solved: $(document).ready(function () { bind(); }); $(document).ajaxComplete(function (event, xhr, settings) { bind(); }); function bind() { $('.chosen-select').chosen({ width: "100%" });…
-
-1
votes1
answer173
viewsQ: Render css/js inside a second Partialview
Using C# MVC5 I have the file "_Layout.cshtml" which loads the standard scripts and css. Each page on my site (Partialviews) then has sections (Script.Render and Style.Render) to load some separate…
-
1
votes1
answer216
viewsQ: Javascript return result to Controller
Good afternoon. I have a page with a multselect in jquery (Link). In this multselect there are 2 list, one with all the calories and the other with the selected values. When editing this…