Click here to Skip to main content
15,902,869 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: jsp javascript compatibility issues in safari Pin
saini arun21-Sep-07 4:20
saini arun21-Sep-07 4:20 
QuestionDouble quote error in Saving Pin
hifiger200420-Sep-07 13:03
hifiger200420-Sep-07 13:03 
AnswerRe: Double quote error in Saving Pin
Guffa20-Sep-07 22:36
Guffa20-Sep-07 22:36 
AnswerRe: Double quote error in Saving Pin
hifiger200421-Sep-07 4:59
hifiger200421-Sep-07 4:59 
AnswerRe: Double quote error in Saving Pin
Paddy Boyd21-Sep-07 4:44
Paddy Boyd21-Sep-07 4:44 
QuestionConvert date string into javascript date object in 'yyyy-MM-dd' and 'yyyy.MM.dd' formats Pin
Alagumani20-Sep-07 2:47
Alagumani20-Sep-07 2:47 
AnswerRe: Convert date string into javascript date object in 'yyyy-MM-dd' and 'yyyy.MM.dd' formats Pin
Guffa20-Sep-07 3:24
Guffa20-Sep-07 3:24 
AnswerRe: Convert date string into javascript date object in 'yyyy-MM-dd' and 'yyyy.MM.dd' formats Pin
Shog920-Sep-07 9:10
sitebuilderShog920-Sep-07 9:10 
Guffa's solution is the best. You should use it.

But, if for some reason you must have the dates in yyy-MM-dd format, just do new Date(hdnDate.value.replace(/-/g, '/')). This uses a regex to match all - chars and then replaces them with the forward slash.

But yeah. If you control the format, please go with Guffa's solution. You'll have far fewer headaches.


every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- Chris Losinger, Online Poker Players?

Questionfind How Many SQL server Present in network Pin
Sachin Pimpale20-Sep-07 0:13
Sachin Pimpale20-Sep-07 0:13 
QuestionDreamwaver visualization help [modified] Pin
saadani19-Sep-07 23:05
saadani19-Sep-07 23:05 
QuestionSend mail through ASP Page.......... Pin
suveenmohan19-Sep-07 23:01
suveenmohan19-Sep-07 23:01 
AnswerRe: Send mail through ASP Page.......... Pin
Christian Graus20-Sep-07 0:54
protectorChristian Graus20-Sep-07 0:54 
AnswerRe: Send mail through ASP Page.......... Pin
kuyak200024-Sep-07 19:49
kuyak200024-Sep-07 19:49 
QuestionHow to use Enterprise Library for Data Access from SQL2005 Pin
babutkchn19-Sep-07 3:35
babutkchn19-Sep-07 3:35 
AnswerRe: How to use Enterprise Library for Data Access from SQL2005 Pin
Brent Lamborn21-Sep-07 9:19
Brent Lamborn21-Sep-07 9:19 
QuestionHow to Dynamically populate Checkbox in Gridview asp.net 2.0 Pin
SJSaranya19-Sep-07 3:12
SJSaranya19-Sep-07 3:12 
AnswerRe: How to Dynamically populate Checkbox in Gridview asp.net 2.0 Pin
saini arun19-Sep-07 4:27
saini arun19-Sep-07 4:27 
QuestionAlerting the user to save before leaving the page Pin
samerh19-Sep-07 3:08
samerh19-Sep-07 3:08 
AnswerRe: Alerting the user to save before leaving the page Pin
Pete O'Hanlon19-Sep-07 4:02
mvePete O'Hanlon19-Sep-07 4:02 
GeneralRe: Change js Tooltip Pin
tadhg8819-Sep-07 1:27
tadhg8819-Sep-07 1:27 
QuestionClosing all child window swhen parent window is closed using Javascript Pin
Phanindra Kumar19-Sep-07 0:54
Phanindra Kumar19-Sep-07 0:54 
AnswerRe: Closing all child window swhen parent window is closed using Javascript Pin
Guffa19-Sep-07 3:08
Guffa19-Sep-07 3:08 
QuestionPHP stuff Pin
#realJSOP19-Sep-07 0:00
professional#realJSOP19-Sep-07 0:00 
AnswerRe: PHP stuff Pin
Johnny ²19-Sep-07 9:59
Johnny ²19-Sep-07 9:59 
GeneralRe: PHP stuff Pin
#realJSOP20-Sep-07 0:06
professional#realJSOP20-Sep-07 0:06 

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.