I want to write a java script function in a website developed for school in asp.net. I wanted to move a bus image on the page for which I am writing a java script function in 'SiteLayout.cshtml' file. I have 4 pages in my website and I want this to happen on about page of my website. But I do not know how and where?
Can anyone help me get more information for the topic please...

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Dec 11, 2013, 6:36 PM EST
You can right it on about.cshtml file itself.
Make sure you have removed this line from SiteLayout page
@RenderSection("scripts", required: false)
In about page,
Let me know if you have doubts
Pandu18 reputationPosted Dec 18, 2013, 10:43 AM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Dec 18, 2013, 6:54 PM EST
Try to understand this article, you may get solution.
Jignesh TrivediRank #16 · 50.3K reputationPosted Dec 18, 2013, 8:28 PM EST
hi,
I think you can write your script with in script tag and it automatically register when you page is render.
hope this will help you.