Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 316 results for
chained
- Page 1
chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by Juriy
…utf-8"> $(function() { $("#series").
chained
("#mark"); }); </script> [/CODE] js… [CODE](function($) { $.fn.
chained
= function(parent_selector, options) { return this.each(function() { /* Save…
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by ddymacek
I ran your code, 1, I have no idea what '
chained
' js is doing. the code given above, I left everything …as a 'get' on a page I named
chained
.php. That form sends data to show.php 'but correction… duplicating all of your code. how about this., forget your '
chained
' menu at the moment. tell me what you are trying…
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by Juriy
that $_POST['series'] and $_POST['mark'] was my mistake and
chained
is js code. im duplicating my code because i need …
Chained Selects - using Ajax - can't make 3rd one work
Programming
Web Development
15 Years Ago
by laural4705
Hi there, I found this great code that allows for
chained
selects with php and ajax. I have 2 boxes working …
Chained Select Assistance
Programming
Web Development
11 Years Ago
by fabzster
… from the below link to work. http://www.blueicestudios.com/
chained
-select-boxes-using-php-mysql-ajax/comment-page-11/#comment…
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by fabzster
… that info in sessions, but beacuse of the way the
chained
select works currently it just resets. I would normally have…
Chained dropdown codeigniter php mysql
Programming
Web Development
9 Years Ago
by hxinen
… I have 6 levels of subcategories. How do I have
chained
select dropdown based on the main category which has a…
Smart chained select boxes
Programming
Web Development
16 Years Ago
by ReverendBoltron
… working on is a page that has four
chained
select boxes with dynamic content. The first select…Originally I had the page set up with only three
chained
boxes, Book, Chapter, and Verse. They all …holds the select options //of the JS Library for dynamic
chained
boxes } } if(getdata) { //add the new …
HELP!? Multiple Chained SELECT Tag JavaScript and jQuery
Programming
Web Development
10 Years Ago
by xmangkan0rx
Good Day! :) I created a
chained
select using php and jQuery like on this page (http://…www.yourinspirationweb.com/en/how-to-create-
chained
-select-with-php-and-jquery/) and I created a javascript…
compile error-chained hash table c++
Programming
Software Development
19 Years Ago
by andremc
i'm trying to create a
chained
hash table using a linked list header file, but there'…
Can daisy chained routers be in the same network?
Hardware and Software
Networking
18 Years Ago
by james_hartt
… seem a bit stupid, but i was wondering if daisy
chained
routers be in the same network? My current setup involves…
For brucejackson: Can daisy chained routers be in the same network?
Hardware and Software
Networking
18 Years Ago
by brucejackson
… another desktop, network printer and laptop). The routers are daisy
chained
. but the computers on the first router can't see…
Help me to create chained select box
Programming
Web Development
8 Years Ago
by shabbir04
Hello everyone, Please help me to create a
chained
select box here i created something , but when i select …
Re: Help me to create chained select box
Programming
Web Development
8 Years Ago
by mangel.murti
…['user']) ? 'selected="selected"' : ''; echo "<option value='
chained
.php?user=$row[intid]' $selected>$row[country_name]</option…
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by ddymacek
try to change your method from get to post. so on your form change method='get' to method='post' and on show.php, change $_GET to $_POST when retrieving your variables.
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by Juriy
[B]ddymacek[/B], thank you for reply. last two blocks of js code is actually perform no action, i was trying to use them and accidentally made mistake. need to correct it to $_GET. what do you think about the rest? Im thinking i need to add code into my js, but dont know how to make such if-case.
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by ddymacek
two things I notice on show.php. 1, I could not run it unless I changed all of your open php tags <? to be <?php 2. when building an option move all of the opening php tags over one space away from your quote example on line 33,34,35,36 in your above script class="101"<? should now be class="101" <?php
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by Juriy
I change it, but correction has to effect
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by ddymacek
1) my first question is why not ajax, this is the perfect time to use it. ajax, is javascript. 2) how are you retrieving your car data. is that what the scripts are trying to do on your page? the two scripts you are trying to call var car_m_s = ... 3) rather, what are you trying to do in your script tags lines 54-62 in show.php 4) are you …
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by Juriy
ok, i got your point. i'll answer your questions one by one 1. i dont want to use ajax because i want to store all models/series on the user side, its my task. 2. Im retrieving data using method get and it'll be something like "show.php?mark=100&series=3", so I'll look in db -> ...WHERE `mark`=100 AND `series`=3... 3. lines 50 -58 …
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by ddymacek
Thank your for the reply. You have described what you would like accurately. I am currently helping someone else but as soon as I am done with them I will work on some code for you.
Re: chained javascript menu. problem with displaing categories
Programming
Web Development
12 Years Ago
by Juriy
ok, thank you, have your time. I'll wait for your reply
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by AleMonteiro
I just commented the code so you know what each line does: $(document).ready(function() { // On DOM Loaded $('#wait_1').hide(); // Hides Wait_1 $('#drop_1').change(function(){ // Listener for changes on Drop_1 $('#wait_1').show(); // Shows Wait_1 $('#result_1').hide(); // Hides Result_1 $.get(&…
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by Taywin
I'm sorry, but I would love to see a better comment that just that. The reason is the function name explains itself, but what does it mean... I would like to see comment somewhat similar to below. Do not be too shy about commenting script/code. It will save your behind in the future when either you or others need a quick glance at it to understand …
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by fabzster
Hi Many thanks for the time taken to reply, it is much appreciated. This was taken from the tutorial link posted above and my Java script skills are somewhat non-existant. Hence why I did not comment anything above as I did not exactly know what it did. By looking at it I kinda understood what each section did, but am unable to change this (make…
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by AleMonteiro
I think this should do the trick: var selectOneID = 'mySelectOne'; // First select, when this changes the select two will be reloaded var selectTwoID = 'mySelectTwo'; // Second select, reloaded when the first changes $(function() { // On DOM Loaded $.get("func.php", { // Request the options for the first …
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by fabzster
Many thanks for all your effort, I have changed this for my use but cannot get it to work, please see below: My Html section: <div> <label for="PhoneMake">Phone Make</label> <select name="PhoneMake" id="PhoneMake"> </select>…
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by fabzster
Many thanks for all your effort, I have changed this for my use but cannot get it to work, please see below: My Html section: <div> <label for="PhoneMake">Phone Make</label> <select name="PhoneMake" id="PhoneMake"> </select>…
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by fabzster
I think I know what the error is. The Variable selectedvalue is not being passed to my php function. how do I fix that?
Re: Chained Select Assistance
Programming
Web Development
11 Years Ago
by AleMonteiro
fabzter, the variable passed to the php is 'drop_var', which has the value of the selectedValue. $.get("getModels.php", { // Request the options for the second select func: "getModel", drop_var : selectedValue // the param name is 'drop_var' } You can …
1
2
3
6
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC