Pedro the $.getScript function is for use *only* to load scripts, hence the naming. It sets the dataType parameter to 'script', which results in the response text being executed as script: not what you want happening to CSS.
Brandon's post is the correct method for this. rob On 4/5/07, Pedro Luz <[EMAIL PROTECTED]> wrote:
Hi, Yes you can load css using $.getScript(); $.getScript("css/standard.css"); On Apr 5, 12:49 am, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > the docs say this retrieves javascript files. does it retrieve and load CSS?
-- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.