Surround inline script with commented out <![CDATA[ ...... ]]>, eg:

<script type='text/javascript'>//<![CDATA[
jQuery(function($){
  .....
  $(this).hide().parent()
    .prepend(" ajax-loader.gif ");
  .....
});
//]]></script>



Kyle-47 wrote:
> 
> 
> Code should read:
> 
> $(this).hide().parent().prepend(" ajax-
loader.gif ");
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Avoiding-invalid-markup-tf4292315s15494.html#a12220049
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to