i installed the plugin and cannot find anything that tells me how it works and how to use it. i have the icon in place and an empty onClick event
in homeSuccess.php:
<input class='submit_img' type="image" src="/images/rainbow/feed-icon-14x14.png" value="Feed" alt="Feed" onClick="gotoFeed(this.value,<?php echo $usr_profile->getId();?>)">
gotoFeed JS in homeSuccess.php:
function gotoFeed(id)
{
console.log("testing");
//must redirect to feeds page??
}
in the actions class:
public function executeFeed(sfWebRequest $request)
{
$profile_id = $this->getUser()->getAttribute('profile_id','zero');
}
can anybody help please? thanks
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)