Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by hc on Oct 27, 2009 20:08
open dhtmlx forum
Tabbar problem : Run time error when form is inserted

Hi

I have this simple code and it seems that when I include <form></form> it gives 'Unknown Run Time Error' in IE 8. (it works fine in FF). When I remove <form></form> then it seems works fine.

<link rel="STYLESHEET" type="text/css" href="/js/dhtmlxTabbar/codebase/dhtmlxtabbar.css">
<script src="/js/dhtmlxTabbar/codebase/dhtmlxcommon.js"></script>
<script src="/js/dhtmlxTabbar/codebase/dhtmlxtabbar.js"></script>

<div id="a_tabbar" style="width:450px; height:450px;"/>
<script>
tabbar = new dhtmlXTabBar("a_tabbar", "top");
tabbar.setSkin('dhx_skyblue');
tabbar.setImagePath("/js/dhtmlxTabbar/codebase/imgs/");
tabbar.addTab("summary_tab", "Summary", "100px");
tabbar.setHrefMode("ajax-html");
tabbar.setContentHref("summary_tab", "aaa.asp");
tabbar.setTabActive("summary_tab");
</script>

aaa.asp :

<form name="aaa" method="post">
<table name="mygrid2">
<tr>
<td>Column 1</td>
<td>Column 2</td>
</tr>
<tr>
<td>value 11</td>
<td>value 12</td>
</tr>
<tr>
<td>value 21</td>
<td>value 22</td>
</tr>
</table>
</form>

What went wrong? am I doing something wrong?

Cheers,
Answer posted by Alex (support) on Oct 28, 2009 03:27

Hello, 

the issue wasn't reproduced locally. Please, see attached sample.

The sample contains the latest tabbar version. Please, try to use it instead of the original one.

Attachments (1)
sample.zip24.09 Kb