0

Hi guys, I have a two functions in ajax; say for example the functions are...function AB() and function BC in my form I have a this textbox which calls the function AB() through onKeyUp event. I successfully made calling the said function, but what if I'll be calling the two function in a single event, is that possible?

3
Contributors
4
Replies
8
Views
8 Years
Discussion Span
Last Post by ShawnCplus
0

Are you talking about something like this?

<html>
<head>

<script>
function AB() {
	alert("Ran function AB()");
}
function BC() {
	alert("Ran function BC()");
}
</script>

</head>
<body>
<form>
	<input type="text" onkeyup="AB();BC();"/>
</form>
</body>
</html>

The previous example will work.

0

Hi itsjareds, yes that's what I'm talking about.

0

Hi guys, I have a two functions in ajax; say for example the functions are...function AB() and function BC in my form I have a this textbox which calls the function AB() through onKeyUp event. I successfully made calling the said function, but what if I'll be calling the two function in a single event, is that possible?

Javascript, not AJAX. AJAX is something that can be done with Javascript. Javascript is the language.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.