1 Reply Latest reply on Aug 23, 2007 8:43 AM by kapelletier

    calling a javascript function from flex

    darrylfrith
      I am using ajax on the page that my flex app is running in and I need to be able to run the following Javascript after an onclick event on a date chooser.

      javascript: document.getElementById('contentarea3').innerHTML='<img src=\'Loading2.gif\' />'; ajaxpage('myphppage.php?', 'contentarea3');

      I also need to be able to pass the selected date to the javascript so that the page would actually be something like:
      myphppage.php?startWeek=" + startWeek + "&endWeek=" + endWeek;

      does anyone know if this is possible?