hi,i had a confuse,how can i pass a value to the js content script

for nowi,i use the way from msupload:
    $wgOut->addScript("<script type='text/javascript'>var clipup_vars = 
$clipup_vars ;</script>\n");
it's work but sometimes it seems not work well,the js cant get the value 
clipup_vars.
it's any nature way to doing this?


Regrades
Sen

From SLboat(http://see.sl088.com)

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to