Friday, November 11, 2011

How to use jQuery in Orchard CMS modules?

On the top of cshtml file put following code:
@using(Script.Foot()) {
    <script type ="text/javascript">
        $(document).ready(function () {
            alert('page loaded');

How to get selected value of dropdown by Javascript

var selectedvalue = document.getElementById('yourSelectBoxId').value

How to write a Widget for Orchard CMS? Coding, Packaging and installing

1. Coding:
2. Packaging:
3. Installing: