Re: how to edit subproduct using CMS Programming Web Development by diafol …is holding some descriptive text/images etc about that subproduct. Ajax should be able to fill the editor for… you. Your onchange or .change() event for the subproduct dropdown should: 1) Run a js getInfo() function, which… should have statements for retrieving the subproduct dropdown selected value - easy for jQuery: var id… Re: how to edit subproduct using CMS Programming Web Development by subrata_ushasi …<?php mysql_select_db('db_ajax'); $query="SELECT Subproductid,Subproductname FROM subproduct WHERE productid='$product'"; $result=mysql_query($query); ?> &…lt;select name="subproduct" id="subproduct" onchange="getcontent(<?php echo $product?&… how to edit subproduct using CMS Programming Web Development by subrata_ushasi … selection of product there will be an another drop down subproduct . Then on selecting sub product ,the content of that sub… Re: how to edit subproduct using CMS Programming Web Development by subrata_ushasi Hi , in cms.php country,state ,countryid and stateid will be replaced by product,productid,subproduct and subproductid sorry for the mistake Re: how to edit subproduct using CMS Programming Web Development by diafol …') : "Problem saving data"; exit; } //JUST FOR DESCRIPTION ON SUBPRODUCT CHANGE if(isset($_POST['call']) && $_POST['call'] == 'getsubdesc… Problem with combobox in vb.net Programming Software Development by Maya Pawar …. one combo contains product and another contains subproduct. when i clicked first combobox then subproduct of that is filtered in another combo… second combo is refreshed means it is not showing proper subproduct. I know the problem.i given the code on 1st… Opencart Sub Product Active Programming Web Development by Divyeshthakar Hello, I have one opencart site there is main menu with category->subproduct links i want subproduct active when it is full product page. Thank you dynamicly linked dropdown lists Programming Web Development by marcmm … firm, the second for product type, and the third for subproduct. What I want is to make those dropdown boxes interconected… Re: how to edit subproduct using CMS Programming Web Development by subrata_ushasi This is done already but what I want to do is ,in cms page using ckeditor ,first to select product from dropdown , based on this all the sup product will be displayed in sub product drop down then selecting sub product from drop down ,the content of the selected sub product will come from databae on the ckeditor. The image is attached herewith. … Re: how to edit subproduct using CMS Programming Web Development by diafol SO what's the problem? My code will allow you to change subprods on prod change and load subprod description whenever subprod changes. It also updates any changes via the update button. If you're struggling with getting data from the editor for an ajax update, you can do this: var editor_data = CKEDITOR.instances.editor1.getData(); If your … Re: Problem with combobox in vb.net Programming Software Development by Maya Pawar I bind two comboboxes. When i go to last record through currency manager,i want to stop SelectedIndexChanged event of 1st combo.bcoz when i go to last record, it will refresh 2nd combo,so records are filtered by 1st combo. but not proper displayed .It will display 1st item.can we stop the event at runtime????plz anyone help me!!!!!! Re: Problem with combobox in vb.net Programming Software Development by finito What? Can you show some code? or is currency manager another software? Not clear please elaborate. Re: Problem with combobox in vb.net Programming Software Development by finito Welcome to the forums, I Think I understood what you want. Basically you want the user to select something from the first combobox, depending on the response you want to fill the second one, and depending on the second you want to fill the third one. Right? If so your code looks good, some syntax errors, but logic seems fine could you please … Re: Problem with combobox in vb.net Programming Software Development by peter_budo Threads merged Re: Problem with combobox in vb.net Programming Software Development by Maya Pawar [QUOTE=finito;1259861]What? Can you show some code? or is currency manager another software? Not clear please elaborate.[/QUOTE] Currency Manager is work like ADODC control in vb 6.0. Can u plz tell me ,can we stop the combobox's event at current time. Amother question is, I want to work with Datagridcombobox. My datagrid contains… Re: Problem with combobox in vb.net Programming Software Development by Maya Pawar Thanks for understood my problem. Can we stop the SelectedIndexChanged Event of combobox at runtime? bcoz when i go to last record my sencond combo is refreshed & It will show 1st Item. but i want to see related item with 1st combo.In the database records are stored with related item.but on frontend.......This is my problem .Can u plz tell … Re: Opencart Sub Product Active Programming Web Development by gabrielcastillo Are you talking about the theme navigation? If so, what theme are you using? You may be able to handle this with jquery or javascript. Re: dynamicly linked dropdown lists Programming Web Development by HazardTW I think you need to look at client side solution to this problem at least in as much as using it for ajax calls to query the server/database, then rebuilding the drop-downs with the appropriate information. Having the page completely reload for every menu selection change would drive even the most patient customers away with a headache. If you … Re: dynamicly linked dropdown lists Programming Web Development by marcmm Yes indeed I figured that reloading the whole page is not a good idea cause that in the end would reset the fields too, so I don't think it's even a possible solution. As stated before, I was thinking of using something like onchange ( if php has something like that ) to detect when a dropdown list has been modifyed. then take the selection from… Re: dynamicly linked dropdown lists Programming Web Development by tkmc I had the same issue a few days ago, then figured it out.... however mine for for 2 drop downs not three. Go to my thread about another issue that i actually posted the code for the whole page. [url]http://www.daniweb.com/forums/post709416-3.html[/url] In mine if you drop down the Manager responsible list and select a manager it changes the … Re: dynamicly linked dropdown lists Programming Web Development by HazardTW Here is a quick example of using javascript to build/rebuild menus dynamically according to selections made. There are three dropdowns but the first two do not change, the third changes based on the selections made in the first two, it could easily be extended to have different options in the second menu based on the first menu's selection. … Re: dynamicly linked dropdown lists Programming Web Development by HazardTW I went ahead and added different second-menu options based on the first menu selection: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>… Re: dynamicly linked dropdown lists Programming Web Development by marcmm I thank you all for taking the time to repply, but as I said I am very new to the whole web programming thing. I just whent over basic PHP and html. I haven't done any javascript, or dabbled with the use of other plug-ins like this ajax everybody seems to mentione. That's why I asked if it was possible to achieve this dynamism using just php alone.… Re: dynamicly linked dropdown lists Programming Web Development by HazardTW JavaScript is run in the browser, it can be written into the HTML document between script tags, or an external js file can be linked to the page so it loads into the browser when the page loads. One thing to remember is that the parts of your js that are not inside functions will run linear to the page, take the following example: [code] <… Re: dynamicly linked dropdown lists Programming Web Development by marcmm Ok, well I understood how your example works... basicly, I'm still having problem with the syntax, and recursivity is an anoyance ( didn't really like it back when I was doing C++, don't like it now either, but hey, if it gets the job done... ). Now, I would have one more question reguarding this example, it works out perfectly and it's just what … Re: dynamicly linked dropdown lists Programming Web Development by HazardTW The idea behind my last example is that when the page is loaded by the client, the PHP would build ALL the js variables from your database queries by echoing them into the js part of the document. The method to extract your data from the database will be completely dependent on your database structure. Can you give me an example of how your … Re: dynamicly linked dropdown lists Programming Web Development by marcmm well, the database is preatty extensive ( I did not build the database ), but I will try to give a description of those tables in the DB that are conected with this particular process. The main table seems to be one called "product" wich has the following columns: ID ( primary key ) productname id_firm ( key ) id_cathegory ( key ) … Re: dynamicly linked dropdown lists Programming Web Development by marcmm P.S. for the integrity of the remaining code, the first option in each of the three dropdown lists must be "Oricare" ( everything ), wich is later used in determining weather the user sleected something from the dropdown lists or just left the default values wich are coded to display the entire list of products. Re: dynamicly linked dropdown lists Programming Web Development by HazardTW There is a little bit of a language barrier, I am not completely clear on the menus. Are there four menus with three being dynamic, or three total. So far I gather that you may have: - Firm menu (static) containing firm names from firm table - Category menu (dynamic based on Firm selection) containing categoryname from category table - Sub-… Re: dynamicly linked dropdown lists Programming Web Development by marcmm Yes indeed, there are only 3 menues. Threre is NO "product" menue. The site sems to use superglobals ( via $_REQUEST) to link to the dropdownlist objects ( from the page that displays the results ) and store what ever is selected in variables wich are later on used in conditionals to determine weather the user has modifyed the standard…