jQuery jqtransform plugin not working

1.8k views Asked by At

Trying to integrate jqtransform into an ASP.NET site. I've been through three tutorials and still nothing. We're using jQuery 1.4.1. Here's where we're currently at. Any thoughts?

The page with the form:

<form class="transformThis">
    <select>
        <option>A</option>
        <option>B</option>
        <option>C</option>
    </select>
</form>

In the <head> of the site master:

<link rel="stylesheet" type="text/css" href="jqtransformplugin/jqtransform.css" />
<script type="text/javascript" src="jqtransformplugin/jquery.jqtransform.js"></script>

End of the site master:

<script type="text/javascript">
    $('.transformThis').jqTransform();
</script>

EDIT: Solved. Included the same jQuery version they used in the demo. Wouldn't work with the newer releases.

1

There are 1 answers

4
Will M On

Are you waiting for the DOM to be ready?

$( document ).ready(function() {
    $('.transformThis').jqTransform();
});

Check your log for an error like JQuery undefined.