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?
sirge
0
Newbie Poster
Recommended Answers
Jump to PostAre 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.
All 4 Replies
itsjareds
29
Junior Poster
sirge
0
Newbie Poster
itsjareds
29
Junior Poster
ShawnCplus
456
Code Monkey
Team Colleague
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.