S
salimbouiche
Hi everybody,
i have the following error when trying to run a javascript function :
missing ) after argument list
The code is :
function addvideo(tag, youtubeid, duration, rating, thumbnail, title)
{
new Ajax.Updater($('aff_message'),"?
q=ajax_action&do=addvideo&tag="+tag+"&id="+youtubeid
+"&duration="+duration+"&rating="+rating+"&thumbnail="+thumbnail
+"&title="+title+"",{method: 'get'});
}
The function is called in that way in HTML source code:
<a href="javascript:addvideo(\'jamel\', \'lm2l7L5IAfw\', \'1366\',
\'4\', \'http://img.youtube.com/vi/lm2l7L5IAfw/2.jpg\', \'Jamel
Debbouze\');">Update</a>
Does someone can help me please ...??
Thanks in advance,
Salim
i have the following error when trying to run a javascript function :
missing ) after argument list
The code is :
function addvideo(tag, youtubeid, duration, rating, thumbnail, title)
{
new Ajax.Updater($('aff_message'),"?
q=ajax_action&do=addvideo&tag="+tag+"&id="+youtubeid
+"&duration="+duration+"&rating="+rating+"&thumbnail="+thumbnail
+"&title="+title+"",{method: 'get'});
}
The function is called in that way in HTML source code:
<a href="javascript:addvideo(\'jamel\', \'lm2l7L5IAfw\', \'1366\',
\'4\', \'http://img.youtube.com/vi/lm2l7L5IAfw/2.jpg\', \'Jamel
Debbouze\');">Update</a>
Does someone can help me please ...??
Thanks in advance,
Salim