I think you need to move the $(document) part of the code outside
of <% %> marks so A4D will not interpret them. So...
// some a4d code ends here %>
<script type="text/javascript>
$(document).ready(
function()
{
$('#drag1' ).Draggable();
........
</script>
<% // resume a4d code here
A4D will ignore your javascript content and simply insert it into
the output stream.
Exactly. The only way Active4D would complain about the javascript
code is if it is inside an Active4D block. Since Apache doesn't
interact with Active4D you don't see the error.
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/