Using partial views for javascript - mattias-jakobsson.net(mattias-jakobsson.net)

submitted by JakobssonJakobsson(485) 2 years, 7 months ago

Lately I have been working on a web application that requieres quite a bit of javascript. I decided to use the Mvc pattern here that I have written about before to see how it works out and to get a more readable and seperated javascript code. I did want to seperate the view, model and controller from each other in different files to be able to get a better overview of the javascript code. It can be very hard to read javascript if you have line after line in the view it self and to be able to reuse the same parts in different similar views.

add a comment |category: |Views: 6

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story