EasyUI Forum
May 18, 2024, 10:24:00 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Poll
Question: why two request are posing onselect of one combo box to link another
Only post - 0 (0%)
get and post - 0 (0%)
get - 0 (0%)
Total Voters: 0

Pages: [1]
  Print  
Author Topic: two requests are posting on reloading the data in combobox on select of another  (Read 5041 times)
kush
Newbie
*
Posts: 29


View Profile Email
« on: December 04, 2014, 03:35:00 AM »

Hi,
    I have a requirement of OnSelect of one Combobx I should load dynamic data in another combo box.While doing so request is posting twice one post and one get.Please have a look of my both comboboxes and give your valid inputs.

<input id="dmn" class="easyui-combobox" data-options="valueField:'id',textField:'text',url:'/demand?action=get_domain_list',
        onSelect: function(rec){
          var url = '/demand?action=get_subdomain_list?id='+rec.id;
          $('#sub_Dmn').combobox('reload', url);
        }">

<input id="sub_Dmn" class="easyui-combobox" data-options="valueField:'id',textField:'text',url:'/demand?action=get_subdomain_list'">
Logged
kush
Newbie
*
Posts: 29


View Profile Email
« Reply #1 on: December 04, 2014, 07:20:16 PM »

Awaiting for your valuable response
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!