Hi,
I am refering http://www.danwellman.co.uk/category/plugin/ for Jpoll stub
But getting Java script error as "Expected :"
Following are my code details
<TABLE CELLPADDING="1" CELLSPACING="1" BORDER="0" WIDTH="98%" height="100%" CLASS="GridOne">
<TR><TD class="boldText">Todays Poll</TD></TR>
<TR><TD><div id="pollContainer"></div></TD></TR>
</TABLE>
<SCRIPT type=text/javascript>
$(document).ready(function(){
var config = {
ajaxOpts.url: "miscellaneous.do?requestSource=PROCESS_POLL",
groupName:"a string",
groupIDs:["One", "Two" , "Three"],
pollHeading:"",
rowClass:"",
errors:true || false
};
$("#pollContainer").jPoll(config);
});
</script>
But if i remove this line eror is not occur.
ajaxOpts.url: "miscellaneous.do?requestSource=PROCESS_POLL",
Please help.