Jason,

What happens if you wrap your script with HTML comments? This was the trick to hide JS code from old browsers.

-- Brad

<script type="text/javascript>
<!--
$(document).ready(
   function()
   {
       $('#drag1').Draggable();
   ........
//-->
</script>

Jason T. Slack wrote:

I have some JS code that breaks once I use it through A4D.

I have the following snippett:

<script type="text/javascript">
$(document).ready(
    function()
    {
        $('#drag1').Draggable();
    ........


A4D bawks at the $ before document telling me it is undefined, nowever if I serve the same page through Apache, everything works as I expect.

How do I go about fixing this?

-Jason

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to