is this a bug?
can you help me about this error?
thanks in advance!

######## code-snippet:

$(document).ready(function()
        {
                $("#Standard select, #Select select")
                .change(function(e){
                        var productType = 
$(this.parentNode.parentNode).attr("id");
                        var selects = $("#"+productType+" select");
                        if(this.value == "" && selects.length > 1)
                        {       //entferne select-feld inkl. umgebendem <p>
                                $(this.parentNode).remove();
                        }
                        else if(selects.length < 10 && 
selects[selects.length-1].value !=
"")
                        {       //erzeuge neues select feld bei dem option mit 
value=""
ausgewaehlt ist
                                var clone = 
$(this.parentNode).clone(true).insertAfter(selects
[selects.length-1].parentNode);
                                $("#"+productType+" select:last").val("");
                        }

                        for(var i=0;i<selects.length;i++)
                                selects[i].value
                        var selectedPositions = [];

                        $("#"+productType+" Select")
                        .each(function(i){
                                selectedPositions[this.selectedIndex] = 
this.selectedIndex;
                        })
                        .each(function(i){
                                $(this.options).each(function(ii){
                                        if(selectedPositions[ii] && 
!this.selected)
                                                this.disabled = true;
                                        else
                                                this.disabled = false;
                                });
                        });

                        return false;
                })
                .ready(function(){
                        //wenn dom bereit, rufe change-funktion auf select 
elemente auf,
die keinen leeren wert haben (damit - keine Auswahl - feld erhalten
bleibt)
                        $("#Standard select:not([value='']), #Select select:not
([value='']").trigger('change');
                })
                ;
        });

######## js-error:

Fehler: match[3] is undefined
Quelldatei: http://xxxxxxxxxx.de/js/jquery/jquery.js
Zeile: 1833

firebug:

match[3] is undefined
PSEUDO()()jquery.js (Linie 1833)
filter()()jquery.js (Linie 1594)
dirCheck()jquery.js (Linie 2318)
(?)()()jquery.js (Linie 1735)
Sizzle()()jquery.js (Linie 1492)
Sizzle()()jquery.js (Linie 1525)
find()()jquery.js (Linie 292)
init()()jquery.js (Linie 78)
(?)()()jquery.js (Linie 26)
(?)()()db_vita_...m_angebot (Linie 2497)
ready()()jquery.js (Linie 2964)
(?)()()db_vita_...m_angebot (Linie 2495)
(?)()()jquery.js (Linie 3032)
each()([function(), function(), function(), 1 more...], function(),
undefined)jquery.js (Linie 692)
ready()()jquery.js (Linie 3031)
(?)()()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to