here is my code.
$("#ddl_customer").change(function(){
cuslist = $("#ddl_customer").val().join(", ");
alert(cuslist);
});
$("#ddl_customer").selectChain({
With Pleasure.
===
first post
Im using a plugin called selectchain by Remy Sharp and modified it a
bit. Right now
im trying to pass only selected values of a multi select list through
ajax. The fo
Still stuck on this.no one has even a suggestion as to what maybe
wrong?
Ok so i thought that maybe the problem had something to do with the
ajax request so i tried adding the ajaxStart function. See below.
$("#ddl_customer").change(function(){
$("#ddl_customer").ajaxStart(function() {
cuslist = $(this).val().join(", ");
});
alert(cuslist);
});
$("#ddl_c
Thanks for the reply. I'm not really too concerned about html and how
its displayed right now. I'm just concerned that its not passing the
right data to the ajax call. It's also part of a much larger mvc type
program so its hard to show html.
this is what the html for the drop down list looks lik
Im using a plugin called select chain and modified it a bit. Right now
im trying to pass only selected values of a multi select list through
ajax. The following function does a bit more but im concerned with the
part that says
cust_val: customer.val().join(",")
This should return only selected v
Not exactly. I guess looping through my string would work. but its a
multiple select list so .addclass wont work
i tried using
$("#mylist option:contains(3)").attr("selected", "selected");
this compares against the list value, not the id. Is there a way to
compare against the id?
Better yet,
Ok lets say i have a multiple select list
first
second
third
fourth
fifth
then i have a string of id's that i want to set to selected like so.
var selectedIds = '1,3,5';
is it possible to use jquery (preferably in a one liner) to set first,
third and fifth to selected.?
@mkmanning
many thanks!! All i needed to do is add a text box with a keyup event
and change the regular expression to match everything and not just the
first beginning of the last name.
Here is the solution in case anyone else is searching. Thanks
again.
http://code.jquery.com/jquery-latest
here is a non jquery solution to what i'm looking for.
http://www.barelyfitz.com/projects/filterlist/index.php/1
Does anyone know of jquery plugin to do the same or maybe if its easy,
some quick source code?
thanks
its not always practical to post a link. The stuff im working on is
offline for now. including database and php files. but thanks for all
the tips.
i would like to filter out option on an select box as i type my value
in a textbox. I would work sorf of like autocomplete without the
autocompleting part.
Its implemented here but the code seems is very complex as there are
many other things going on.
http://www.headcircus.com/uiguy/selectboxfa
ravi, matthew,
thanks for the responses, and i totally agree that this group is huge.
Google could have added a few more features to their groips app. this
is very barebones:(
here is what im doing,
i've been using this (http://remysharp.com/2007/09/18/auto-populate-
multiple-select-boxes/) plu
thanks, charlie,
jquery feels like such a puzzle, and i get bits and pieces from
everywhere.
Can we take this to another level? what if i want to have a first
element in the list, example --select all--, how do i set it so when
this is selected, all values get selected.
On Jun 23, 11:55 am,
thanks for the replies,
@cesar, i'm not mad or anything, i just figure i was asking in the
wrong way and wanted to find out what im doing wrong.
@michael, thanks for pointing out that 2 questions were answered. This
is my first google group and i figured that replies to my post would
be emailed
ok , ive posted about 6 questions in this group since i joined and not
one has answered. not even an attempt.
I've seen question, both easier and more difficult that mine being
answered. Am i asking in the wrong way? Is there something im
forgetting to include?
what can i do to make my question
ok , ive posted about 6 questions in this group since i joined and not
one has answered. not even an attempt.
I've seen question, both easier and more difficult that mine being
answered. Am i asking in the wrong way? Is there something im
forgetting to include?
what can i do to make my question
how can i set the attribute of an item in a select box to selected?
here i've been working with this for the past few days. it should do
the trick
http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/
On Jun 23, 2:44 pm, Paul wrote:
> Hi there,
>
> This is what I'm trying to do:
>
> When a user selects a group in the first SELECT box,
is there a way to select all values of a multiple select list by
default?
is is possible to trigger mutiple events in sucession? each depending
on the previous?
i have 5 multiple select boxes each of which get populated when the
previous box is clicked on. ex. i select a value from box 1 that
populates box 2 then i select box 2 that populates box 3 etc.
is it possible to have them all populate with out the clicking.
ex. i click in box 1 and box 2, gets p
I'm tasked with created a series of filters with checkboxes.
for example lets say i have 3 categories, customers, groups, acccount
customers contains groups and groups contain accounts.
i want to be able all records as checkboxes in 3 different sliding
panels on the same page. Then as any chec
I suppose you can switch key and value
On Jun 16, 8:02 am, Sanjay Khandkar wrote:
> Hi,
>
> I was able to obtain the key or display name from autocomplete list
> using your example of "email".
>
> The problem is this
>
> a. Search should take place on the "display" field (in the name field
> - r
im a newbie trying to use the autocomplete plugin. I have a php array
returning a name and an id.
the autocomplete drop down displays only the first value before the |
in name|id
This is fine but how do i get the 'id' part to be stored in a hidden
field. I've looked at the examples
herehttp:/
25 matches
Mail list logo