TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Micky Rajput
NA
27
5.3k
angular js 2.0 onlick button show
Dec 26 2017 8:27 AM
button onclick input text box value show on page is odd or even..when type 1 the value show is odd and when type 2 ..the value show is even and same show on alert box????plzzz help mee????
if (num%== 2){
console.log("number is even");
}
else{
console.log("number is odd")
}
return();
plzz help me
Reply
Answers (
1
)
How to prevent routing while server side rendering angular 1
elasticsearch api in angular 2 application