John Resig updated the star rating for v1.1.1 which should also work with v1.1.2. Are you using that version?

http://john.jquery.com/plugins/rating/

Rey...

nicmae wrote:
Hello,

I have the same problem. "$form.title is not a function". I use jquery
1.1.2. I try with 1.03 and 1.04 and it works with these old versions.
Really strange as on the mainpage of jquery it's written "Features
include: 100% graceful degradation and fractional ratings. It has been
refactored to work with jQuery v1.1 and above".

Somebody has an idea to use this with the latest build of jquery?

Thanks in advance

On Mar 10, 5:49 pm, [EMAIL PROTECTED] (Alp Guneysel) wrote:
Hi, i'm trying to add wil stuckey's jquery simplestarratingplug-in to my
forms, but i'm confronted with an error.
it says: "$form.title is not a function" in file jquery.rating.js starting
line 125:

var $container = $(document.createElement('div')).attr({"title":
$form.title(),
"class": $form.attr('class')

i'm using jquery 1.1.2

my form looks like this:
<form class="rating" title="AverageRating: 3.4" action="addcomment.php">

...some form elemets...

    <label for="r1" class="avg">Rate Me!</label>
    <select id="r1">
        <option value="0">0</option>
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3">3</option>
        <option value="4">4</option>
        <option value="5">5</option>
    </select>
</form>

Any  ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/discuss_jquery.com/attachments/20070310/3983a4d3/attachment.html



--
BrightLight Development, LLC.
954-775-1111 (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com

Reply via email to