Hi .

Do you often link "array('commons.js')" when you actually want
"validate.js?11645" to be loaded ???
The weirdest thing is that Cake links "validate.js" instead...

The correct code, at least on Earth and for computers built by human
beings, should be:
<? echo $javascript->link('validate.js?11645') ?>

+++++++
Clément

On Tue, Jun 10, 2008 at 10:44 PM, . <[EMAIL PROTECTED]> wrote:
> when i do this:
> echo $javascript->link(array('common.js'))
>
> the output i get is
> <script type="text/javascript" src="/js/validate.js"></script>
>
> this is giving me problems in IE6 (but it is okay in firefox or IE7). The
> correct line should be
>
> <script type="text/javascript" src="js/validate.js?11645"></script>
> (without the slash '/' to the left of the 'js')
>
> how do i do this?
>
> thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to