I setup a remote time just fine, but I need the url to pull a value
from the page before it executes. The problem is the helper is
parsing/sanatizing all the code so I can't get executable code in the
call itself. Here is what I attempted (along with many other things
but I can't seem to get it to work.
Any suggestions?
echo $ajax->remoteTimer(
array(
'url' => array( "'/posts/get_latest/'+\$F('lastid')" ),
'update' => 'newposts',
'position' => 'top',
'frequency' => 10
)
);
I am going to want to put a lot more javascript code in the success
and failure as well. Is this one of those cases to just write it by
hand?
Chad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---