Giter VIP home page Giter VIP logo

Comments (5)

wbotelhos avatar wbotelhos commented on May 21, 2024

Hi mrchess,

Using the selection by id or class you can use children() to get the input value.

I don't know if is clearer make a public function like: $.fn.raty.getScore('#big'); instead to do: $('#big').children('#big-score').val();

from raty.

mrchess avatar mrchess commented on May 21, 2024

Yeah I guess I didn't understand how raty worked. I thought after it got initialized it would turn the element to have properties where you can get a value -- I thought it would create a raty object of some sort where it would maintain the state of the rating so I could execute a

$('#big').getRatyValue()

Instead of fetching it through children. No worries :)

from raty.

wbotelhos avatar wbotelhos commented on May 21, 2024

If you have some good ideas, please, fork e push it. (:

from raty.

mrchess avatar mrchess commented on May 21, 2024

Indeed :). I added some things to raty. You can see here:
https://github.com/mrchess/starify

I'm not sure if I was supposed to fork it before adding? Sorry I don't know
the proper github etiquette for contributing/adding to projects -- still
kind of new

On Sun, May 8, 2011 at 3:57 PM, wbotelhos <
[email protected]>wrote:

If you have some good ideas, please, fork e pull it. (:

Reply to this email directly or view it on GitHub:
#11 (comment)

from raty.

wbotelhos avatar wbotelhos commented on May 21, 2024

I'm developing some new features including visualization of the vote.

It'll be available in version 1.4.

Thanks.

from raty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.