On Dec 8, 2006, at 3:05 PM, Brad Perkins wrote:
Hi Brad,
What happens if you wrap your script with HTML comments? This
was the trick to hide JS code from old browsers.
<script type="text/javascript>
<!--
$(document).ready(
function()
{
$('#drag1').Draggable();
........
//-->
</script>
No dice, What I expect to happen is not happening, but again, when
served through Apache, everything works.
-Jason
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.
Kind Regards,
*********************************************************************
Bill Leddy
[EMAIL PROTECTED]
William Leddy Business Consulting
Custom Database Solutions
3145 17th Street
Sacramento, CA 95818 Phone: (916) 444-2903
"On the desktop and on the web"
*********************************************************************
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/