I have 3 textboxes

names

myTextBox1
myTextBox2
myTextBox3

onblur i want to check if the value of the checkbox is true.

I have a function in my js file.

function isNumeric(myString) {.......}

In my JSP file i write;

onblur="isNumeric(X)"

I wrote everything and it does not work. What must i have write instead of X.? The id of the checkbox? The name?

I also use onchange for my textboxes...

Try this:

onBlur="isNumeric(this.value)"
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.