Html Condition With Cclientscript

how to registerScriptFile with HTML condition in CClientScript, for example :

I want to add this line with CClientScript :




<!--[if lt IE 9]>

   <script src="<?php echo $themeBaseUrl;?>/backend/assets/plugins/excanvas.min.js"></script>

   <script src="<?php echo $themeBaseUrl;?>/backend/assets/plugins/respond.min.js"></script>  

<![endif]--> 



Hi

There is not a direct way to do that (at current yii version) but check also these posts

http://www.yiiframework.com/forum/index.php/topic/9072-register-conditional-javascript-if/

http://www.yiiframework.com/forum/index.php/topic/4359-how-to-add-a-conditional-css-link-to-a-page/

I think the solution take place in the second post :)

Thank you KonApaz

try my extension

specifiec-target-clientscript