Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by icer on Nov 21, 2008 23:47
open dhtmlx forum
tabbar question

in dhtmlxtabbar.js

dhtmlXTabBar.prototype._resolveContent

for (var i=0;i<z.length;i++)
{
if (window.execScript)
window.execScript(z[i].replace(/<([\/]{0,1})script[^>]*>/g,""));

if there is no clause

z[i].replace(/<([\/]{0,1})script[^>]*>/g,"")!=''

something is wrong and can not run correctly

the evironment:IE6.0
Answer posted by Support on Nov 24, 2008 02:16
The problem may occur only if you have empty script tags on the page
         <script ..></script>
which is not very logical use-case in first place. 

Beware, that while loading data through  ajax, component can process inline scripts, but external references will not be processed correctly 

will work
<script> some() </script>

will not work
<script src='codebase/dhtmlxcommon.js'></script>