calling function defined in ajax load?
Hi there
if i am using jquery's $.ajax to load content and the content in the url ('test.php')
is <script type="text/javascript">
function test() {
alert('test called');
}
</script>
how do i get the function test() to execute?
as if i call it (from the parent page in the success function)
i get told it is undefined