Click here to Skip to main content
15,889,852 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: AngularJS: How to prove that service and factory is singleton Pin
Mou_kol15-Jun-17 2:53
Mou_kol15-Jun-17 2:53 
QuestionHow do I define constructor in service and factory in Angular? Pin
Mou_kol12-Jun-17 3:37
Mou_kol12-Jun-17 3:37 
QuestionAngularJS: Why people prefer factory to share data between controllers Pin
Mou_kol12-Jun-17 3:36
Mou_kol12-Jun-17 3:36 
AnswerRe: AngularJS: Why people prefer factory to share data between controllers Pin
onelopez12-Jun-17 5:41
onelopez12-Jun-17 5:41 
QuestionHow to write the handler for buttons using JQUERY Pin
Alex Can Work2-Jun-17 7:20
Alex Can Work2-Jun-17 7:20 
GeneralRe: How to write the handler for buttons using JQUERY Pin
ZurdoDev13-Jun-17 1:35
professionalZurdoDev13-Jun-17 1:35 
AnswerRe: How to write the handler for buttons using JQUERY Pin
John C Rayan19-Jun-17 3:51
professionalJohn C Rayan19-Jun-17 3:51 
AnswerRe: How to write the handler for buttons using JQUERY Pin
Member 1069738612-Sep-17 1:10
Member 1069738612-Sep-17 1:10 
you want to use your input button in place of link , then you can use id of the input button and use .click handler.
Use HTML instance
HTML
<INPUT type="button" onClick="history.forward();" value="Next" name="2">
of this
HTML
<input type="button" id="btnNext" value="Next" name="2">


and Script
JavaScript
$("#btnNext").click(function () {    // Event of link-click  "necxt step"
                if (current_step == steps.length - 2) { // checking -  will it the next step is last
                    $(this).hide(); // i hide the link "next step"
                    $("form input[type=submit]").show(); // show thge button "OK"
                }
                $("a.back").show(); // show the link "Back"
                current_step++; // increase the counter of the current slide
                changeStep(current_step); // change a step
            });


do same as it is for another button
GeneralIT developer for a bank needs opinions about my Javascript for online banking OTP Pin
ArtCollector31-May-17 7:31
ArtCollector31-May-17 7:31 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
OriginalGriff31-May-17 7:37
mveOriginalGriff31-May-17 7:37 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
F-ES Sitecore31-May-17 22:25
professionalF-ES Sitecore31-May-17 22:25 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
OriginalGriff31-May-17 22:48
mveOriginalGriff31-May-17 22:48 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
F-ES Sitecore31-May-17 22:27
professionalF-ES Sitecore31-May-17 22:27 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
OriginalGriff31-May-17 22:48
mveOriginalGriff31-May-17 22:48 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
OriginalGriff31-May-17 22:48
mveOriginalGriff31-May-17 22:48 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
Richard Deeming31-May-17 8:24
mveRichard Deeming31-May-17 8:24 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
Richard MacCutchan31-May-17 22:35
mveRichard MacCutchan31-May-17 22:35 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
OriginalGriff31-May-17 22:49
mveOriginalGriff31-May-17 22:49 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
Richard MacCutchan1-Jun-17 1:01
mveRichard MacCutchan1-Jun-17 1:01 
GeneralRe: IT developer for a bank needs opinions about my Javascript for online banking OTP Pin
OriginalGriff1-Jun-17 1:16
mveOriginalGriff1-Jun-17 1:16 
QuestionExport canvas.js chart to pdf and excel Pin
prog.sidra30-May-17 7:51
prog.sidra30-May-17 7:51 
QuestionRe: Export canvas.js chart to pdf and excel Pin
ZurdoDev30-May-17 8:10
professionalZurdoDev30-May-17 8:10 
QuestionJavaScript to Store GridView Text box value before PostBack Pin
VinKot29-May-17 20:27
VinKot29-May-17 20:27 
QuestionRe: JavaScript to Store GridView Text box value before PostBack Pin
ZurdoDev30-May-17 8:23
professionalZurdoDev30-May-17 8:23 
QuestionTrouble working with php generated inventory Pin
hexcypher24-May-17 11:40
hexcypher24-May-17 11:40 

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.