Hi, bit of a noob with dhtmlx and coding like this but what i have seen so far is awesome.
I have built to pages one is a login page and the other is an test application page.
the login page just simply has a window on it and I have attached a URL that contains 2 input fileds and a button that I have an onlclick even on. It validates the form and submits the page using
document.form1.submit()
this then goes to a PHP page that processes the user sets up some session variables and then redirects to the application page using [code]
[/code] the application page has a 3U layou and tabs attached to area ‘b’ and in the forst tab is a grid that gets info from a mysql database. in the grid I have an “onRowSelect” event attacehd that opens a model window and uses the attachURL method to diplay the contents of the record clicked.
this is where the errror is thrown… “Invalid argument” Line 9, Character 24 in dhtmlxLayout/codebase/dhtmlxcontainer.js… If i then just press F5 to relode IE8 and click any of the rows in the grid i do not get the error again.
I have also setup a logout script that when I click the logout link (which is just a A REF pointing to onClick event) it redirects using
window.document.URL = "../includes/logout.php";
this page kills all my session variable then redirects back to the original login page that displays the login window again… and here the error has appeared again… but it is only there after a page redirect…??? if i reload the page the error is gone. If i remove the attachURL code for both windows then the error does not appear at all.
I have spent sever days trawling through the forums for help on this but have not yet found a solution. please help. I am not a coder so my code is probably a bit messy but I have attached the 2 pages I am speaking about in so you have a better idea of what I have done.
Please help…
dhx.rar (4.74 KB)