Please check the code below.....
the logic being......
1. if x > y
I want a message to alert tht "page 5 and page 6 added"
2. if y<x
I want a message to alert tht "page 5 and page 6 deleted"
if (x != y)
if(x > y)
a = (x - y);
b = (y -x);
Can you be more descriptive, please? What is x? what is y? where do they come from?
x and Y both are values entered by the user in text boxes
if you work down through the various w3schools tutes on functions on the left hand side, you should gain all the skills you need to write your function.
And where are the text boxes? Which event the user should apply? onchange? onblur? Or maybe there is a button there to fire onclick a function?
Originally Posted by hcl.tech
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)