Hello,
I have a window in which I have integrated a form.
When I want to save the form and close the window, I get an error from the javascript debug in Internet Explorer.
The error message is “Error : Object expected” on code “var a = this.obj.getUserData(g, this.action_param);” in dhtmlx.js (setUpdated function).
I suspect an interference between myForm.save() and win.close(), but don’t know how to solve it.
Could anybody help me ?
HTML code (index.html) :
Product Class Explorator html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden; background-color: #fafafa; } .dhxtree_dhx_skyblue .standartTreeRow { font-size:11px !important; }PHP Connector (formdata.php) :
<?php require_once("../DHTMLX5/sources/php_connector/codebase/form_connector.php"); require("../config.php"); $db=mysql_connect($mysql_server,$mysql_user,$mysql_pass); mysql_select_db($mysql_db); $conn_f = new FormConnector($db,"MySQL"); $conn_f->enable_log("trace.log"); LogMaster::log("formdata.php"); $conn_f->render_table("item","int_id","int_id, id, name, description"); ?>