I have a call using jQuery:
rate=$('#rateit99').rateit('value');
I want it to perform using ajax. How could I do?
rateut99 is the ID of element from where value is coming.
Trying to solve this problem.
UPDATE:
function x()
{
rate=rateit();
}
function rateit()
{
var element = $('#rateit99');
alert("rate it :" + element);
return element;
}
it alerts : rate it :[object Object]
UPDATE2
start.php
<div class="rateit bigstars" id="rateit99" data-rateit-starwidth="32" data-rateit-starheight="32" style=" position:relative; top:-30px; display:none; left:300px" >
</div>
login.php: loads start.php with above elements.
All the function those are going to be called are in login.php