Click here to Skip to main content

JavaScript

 
AnswerRe: Java Script Pinmembervbmike19-Dec-12 5:28 
QuestionUsing datePicker to disable dates already selected PinmemberxnaLearner11-Dec-12 4:39 
Questionjquery tabslideout plugin and wired behavior PinmemberTridip Bhattacharjee9-Dec-12 22:13 
AnswerRe: jquery tabslideout plugin and wired behavior PinmemberMayor Daily17-Dec-12 5:22 
GeneralRe: jquery tabslideout plugin and wired behavior PinmemberTridip Bhattacharjee18-Dec-12 1:55 
QuestionNeed help understanding binding PinmemberSteve Bondy7-Dec-12 15:00 
QuestionText replace Pinmemberrakeshs3127-Dec-12 0:06 
AnswerRe: Text replace PinmvpRichard MacCutchan7-Dec-12 1:43 
You need to rewrite the text value with the hours or minutes set to zero. Something like:
else {
    var hours = parseInt(e.value.substring(0, 2), 10);
    var minutes = parseInt(e.value.substring(3, 5), 10);
    
    if (hours > 12) {
        alert(hours)
        hours = 0;
    }
    if (minutes > 59) {
        minutes = 0;
    
    }
    // I'm not sure about this but you can probably figure out the exact statement
    e.value = hours.toString() + ":" + minutes.toString();
}
One of these days I'm going to think of a really clever signature.

GeneralRe: Text replace Pinmemberrakeshs3129-Dec-12 6:40 
QuestionJQuery datePicker SelectMultiple format dd/mm/yy PinmemberxnaLearner6-Dec-12 1:37 
AnswerRe: JQuery datePicker SelectMultiple format dd/mm/yy Pinmembersrinivas nv6-Dec-12 22:50 
GeneralRe: JQuery datePicker SelectMultiple format dd/mm/yy PinmemberxnaLearner10-Dec-12 1:04 
QuestionDelete selected rows by table id using javascript PinmemberMember 88023075-Dec-12 9:05 
AnswerRe: Delete selected rows by table id using javascript PinmemberDeepak Kr15-Dec-12 19:45 
GeneralRe: Delete selected rows by table id using javascript PinmemberMember 88023076-Dec-12 7:20 
AnswerRe: Delete selected rows by table id using javascript PinmemberGraham Breach6-Dec-12 22:41 
QuestionHTML5 Javascript Issue [modified] PinmvpJohn Simmons / outlaw programmer3-Dec-12 2:09 
AnswerRe: HTML5 Javascript Issue PinmemberGraham Breach3-Dec-12 6:00 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 6:22 
GeneralRe: HTML5 Javascript Issue PinmemberGraham Breach3-Dec-12 7:29 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 7:40 
GeneralRe: HTML5 Javascript Issue PinmemberGraham Breach3-Dec-12 7:48 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 10:09 
GeneralRe: HTML5 Javascript Issue PinmemberGraham Breach3-Dec-12 12:02 
GeneralRe: HTML5 Javascript Issue PinmvpJohn Simmons / outlaw programmer3-Dec-12 16:20 

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
Web01 | 2.8.150128.1 | Last Updated 26 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid