Title: null urls preventing load [Solved] Post by: devnull on May 25, 2014, 09:42:22 PM I don't want to specify the url for a (tree, form etc) element at load time but instead I want to set it during run time.
The problem is, if I don't define the url at load time, or if I define it as empty string or null, then the load method will not work: Code: $('#xx').combobox({ Title: Re: null urls preventing load Post by: stworthy on May 26, 2014, 03:17:33 AM You must set the 'url' property before calling 'load' method.
Code: $('#yy').datagrid('options').url = ...; Title: Re: null urls preventing load Post by: devnull on May 26, 2014, 03:20:37 AM Hi, thanks but the URL is already included in the load:
Code: var url = '/vwltsa/?_func=xxx'; Title: Re: null urls preventing load Post by: stworthy on May 26, 2014, 03:31:24 AM The 'load' method only accepts the query parameters. Just like this:
Code: $('#dg').datagrid('load',{ Title: Re: null urls preventing load Post by: devnull on May 26, 2014, 04:05:19 AM Would it be possible to also allow the url to be passed same as for a form:
Code: $('#ff').form('load','get_data.php'); // load from URL Title: Re: null urls preventing load Post by: stworthy on May 26, 2014, 08:51:10 AM Please download the patch file from http://www.jeasyui.com/download/downloads/jquery-easyui-1.3.6-patch.zip to solve your issue.
|