Click here to Skip to main content
11,642,381 members (61,863 online)

JavaScript

 
AnswerRe: Looking for a candian that has regex down for canadian postal codes Pin
Peter_in_27803-Mar-13 13:26
memberPeter_in_27803-Mar-13 13:26 
GeneralRe: Looking for a candian that has regex down for canadian postal codes Pin
jkirkerx3-Mar-13 13:44
memberjkirkerx3-Mar-13 13:44 
QuestionGetting child json elements Pin
jkirkerx3-Mar-13 9:09
memberjkirkerx3-Mar-13 9:09 
AnswerRe: Getting child json elements Pin
Graham Breach3-Mar-13 10:01
memberGraham Breach3-Mar-13 10:01 
GeneralRe: Getting child json elements Pin
Garth J Lancaster3-Mar-13 10:26
memberGarth J Lancaster3-Mar-13 10:26 
GeneralRe: Getting child json elements Pin
jkirkerx3-Mar-13 10:50
memberjkirkerx3-Mar-13 10:50 
GeneralRe: Getting child json elements [solved] Pin
jkirkerx3-Mar-13 10:48
memberjkirkerx3-Mar-13 10:48 
QuestionResetting drop downs inside of a div Pin
Aptiva Dave27-Feb-13 11:04
memberAptiva Dave27-Feb-13 11:04 
I know that there is an easy way to do this, but I'm so green on javascript programming that I'm missing something. Anyway, I have a div with some selects in it and I want to reset them all back to the first option. Here is my current code:
 $("#newAuction").children('select').each(function () {
            $(this).find('option:first').attr('selected', 'selected');
        });

This isn't looping through all of the selects (there are four in this div) and resetting them to the first option. What am I doing wrong?
AnswerRe: Resetting drop downs inside of a div Pin
ryanb316-Mar-13 1:24
memberryanb316-Mar-13 1:24 
Questionhtml5 and java script Pin
manoranjan gupta23-Feb-13 2:09
membermanoranjan gupta23-Feb-13 2:09 
AnswerRe: html5 and java script Pin
Richard MacCutchan23-Feb-13 2:16
mvpRichard MacCutchan23-Feb-13 2:16 
AnswerRe: html5 and java script Pin
twseitex8-Mar-13 9:12
membertwseitex8-Mar-13 9:12 
QuestionHigh Stock Pin
bahar_Agi20-Feb-13 8:33
memberbahar_Agi20-Feb-13 8:33 
AnswerRe: High Stock Pin
Sandeep Mewara20-Feb-13 16:56
mvpSandeep Mewara20-Feb-13 16:56 
Questioncopy one file from a folder to another folder with JS Pin
hasThisNameBeen19-Feb-13 22:38
memberhasThisNameBeen19-Feb-13 22:38 
AnswerRe: copy one file from a folder to another folder with JS Pin
Sandeep Mewara20-Feb-13 17:10
mvpSandeep Mewara20-Feb-13 17:10 
GeneralRe: copy one file from a folder to another folder with JS Pin
ryanb3121-Feb-13 1:51
memberryanb3121-Feb-13 1:51 
GeneralRe: copy one file from a folder to another folder with JS Pin
Sandeep Mewara21-Feb-13 2:15
mvpSandeep Mewara21-Feb-13 2:15 
GeneralRe: copy one file from a folder to another folder with JS Pin
dusty_dex27-Feb-13 14:14
memberdusty_dex27-Feb-13 14:14 
Questionjavascript Pin
NAVNEET KUMAR SINGH18-Feb-13 18:45
memberNAVNEET KUMAR SINGH18-Feb-13 18:45 
AnswerRe: javascript Pin
Rahul Rajat Singh18-Feb-13 23:52
mvpRahul Rajat Singh18-Feb-13 23:52 
AnswerRe: javascript Pin
ryanb3119-Feb-13 2:37
memberryanb3119-Feb-13 2:37 
QuestionJavaScript run slow with Ipad iOS 6 Pin
kornkimhour13-Feb-13 22:59
memberkornkimhour13-Feb-13 22:59 
QuestionJavaScript: How to reference user control inside content page? Pin
Tesic Goran12-Feb-13 20:36
memberTesic Goran12-Feb-13 20:36 
SuggestionRe: JavaScript: How to reference user control inside content page? Pin
Blikkies13-Feb-13 2:14
memberBlikkies13-Feb-13 2:14 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.150731.1 | Last Updated 1 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid