Click here to Skip to main content
15,919,358 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: javascript execute usercontrol method without postback Pin
Dennis E White15-Apr-13 12:07
professionalDennis E White15-Apr-13 12:07 
GeneralRe: javascript execute usercontrol method without postback Pin
Steve Holdorf15-Apr-13 12:15
Steve Holdorf15-Apr-13 12:15 
GeneralRe: javascript execute usercontrol method without postback Pin
Dennis E White15-Apr-13 12:19
professionalDennis E White15-Apr-13 12:19 
GeneralRe: javascript execute usercontrol method without postback Pin
Manfred Rudolf Bihy15-Apr-13 23:14
professionalManfred Rudolf Bihy15-Apr-13 23:14 
SuggestionRe: javascript execute usercontrol method without postback Pin
Steve Holdorf17-Apr-13 0:35
Steve Holdorf17-Apr-13 0:35 
QuestionCheckbox check should automatically and slowly fadeout to unchecked Pin
Member 937599314-Apr-13 7:56
Member 937599314-Apr-13 7:56 
AnswerRe: Checkbox check should automatically and slowly fadeout to unchecked Pin
Dennis E White15-Apr-13 10:29
professionalDennis E White15-Apr-13 10:29 
QuestionHow can I select a dropdown list with JQuery? Pin
AlexanderBlade13-Apr-13 23:11
AlexanderBlade13-Apr-13 23:11 
XML
Hi, I’m using JQuery version 1.8.11 with IE10. I have a table with a simgle row. the table id is #listTable, the <tr>id is #listTableRow and the <td> id is #days.  The row has a number of cells and in each cell there is a dropdown list with the same id: #searchString.  I want to be able to select the the dropdown list in the third cell and set its option to option:first.. I’ve been able to select the td with the code below but not the specific dropdown list.. How can I select the 3rd dropdown list in a table?

<script type="text/javascript">



            $(document).ready(function () {
                var nos = $('#listTable #searchString').length;

                $.each($checkboxes, function () {
                    if ($(this).is(':checked')) {

$('#listTable #days:nth-child(3)').css('border', '2px dashed blue');

                });

            });

           </script>

AnswerRe: How can I select a dropdown list with JQuery? Pin
Dennis E White15-Apr-13 5:15
professionalDennis E White15-Apr-13 5:15 
QuestionQuestion of a dusy_dex Pin
Hakan Bulut12-Apr-13 20:55
Hakan Bulut12-Apr-13 20:55 
AnswerRe: Question of a dusy_dex Pin
Richard MacCutchan12-Apr-13 22:15
mveRichard MacCutchan12-Apr-13 22:15 
GeneralRe: Question of a dusy_dex Pin
Hakan Bulut13-Apr-13 1:26
Hakan Bulut13-Apr-13 1:26 
GeneralRe: Question of a dusy_dex Pin
Richard MacCutchan14-Apr-13 4:32
mveRichard MacCutchan14-Apr-13 4:32 
GeneralRe: Question of a dusy_dex Pin
Hakan Bulut15-Apr-13 4:31
Hakan Bulut15-Apr-13 4:31 
GeneralRe: Question of a dusy_dex Pin
Richard MacCutchan15-Apr-13 4:41
mveRichard MacCutchan15-Apr-13 4:41 
AnswerRe: Question of a dusy_dex Pin
dusty_dex13-Apr-13 0:19
dusty_dex13-Apr-13 0:19 
GeneralRe: Question of a dusy_dex Pin
Hakan Bulut13-Apr-13 3:57
Hakan Bulut13-Apr-13 3:57 
GeneralRe: Question of a dusy_dex Pin
dusty_dex13-Apr-13 4:30
dusty_dex13-Apr-13 4:30 
GeneralRe: Question of a dusy_dex Pin
Hakan Bulut13-Apr-13 23:38
Hakan Bulut13-Apr-13 23:38 
GeneralRe: Question of a dusy_dex Pin
Hakan Bulut13-Apr-13 23:43
Hakan Bulut13-Apr-13 23:43 
GeneralRe: Question of a dusy_dex Pin
dusty_dex14-Apr-13 0:11
dusty_dex14-Apr-13 0:11 
GeneralRe: Question of a dusy_dex Pin
Hakan Bulut15-Apr-13 4:18
Hakan Bulut15-Apr-13 4:18 
GeneralRe: Question of a dusy_dex Pin
dusty_dex15-Apr-13 7:09
dusty_dex15-Apr-13 7:09 
GeneralRe: Question of a dusy_dex Pin
dusty_dex14-Apr-13 23:54
dusty_dex14-Apr-13 23:54 
GeneralRe: Question of a dusy_dex Pin
Hakan Bulut15-Apr-13 21:23
Hakan Bulut15-Apr-13 21:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.