D
Daniel Smedegaard Buus
Consider this piece of code:
eval(" function f0825022001228918765(args)
{$.get('/xhr/video_player_comments_box.php',merge_objects({},
{\"category_id\":\"1\",\"clip_id\":\"371\"}, args),function(response){var
old =
$('#video_player_meta_box');old.hide().after(response);old.remove();});};
function f0825246001228918765(){ajaxify_form({
form_element_id:'commenting_form',
submit_url:'/json/core_create_clip_comment.php', track_input_states:true,
clear_texts_on_first_focus:true, post_data:{\"category_id\":\"1\"
\"clip_id\":\"371\"}, on_failure: function(response){
$(\"#info\").removeClass(\"thanksWriteComment_hide\").addClass(\"thanksWriteComment_show\"); }} );};
setTimeout('f0825246001228918765();', 100); ");
Why would this error out with "f0825246001228918765 is not defined"? Is this
a scope issue?
Thanks,
Daniel
eval(" function f0825022001228918765(args)
{$.get('/xhr/video_player_comments_box.php',merge_objects({},
{\"category_id\":\"1\",\"clip_id\":\"371\"}, args),function(response){var
old =
$('#video_player_meta_box');old.hide().after(response);old.remove();});};
function f0825246001228918765(){ajaxify_form({
form_element_id:'commenting_form',
submit_url:'/json/core_create_clip_comment.php', track_input_states:true,
clear_texts_on_first_focus:true, post_data:{\"category_id\":\"1\"
\"clip_id\":\"371\"}, on_failure: function(response){
$(\"#info\").removeClass(\"thanksWriteComment_hide\").addClass(\"thanksWriteComment_show\"); }} );};
setTimeout('f0825246001228918765();', 100); ");
Why would this error out with "f0825246001228918765 is not defined"? Is this
a scope issue?
Thanks,
Daniel