Anjana
Anjana

Reputation: 1453

Triggering focusout() events from other focusout() event

am using a focus out event for one validation in jquery. like

$("#A").focusout(function () here 'A' is the id of the textbox

the function contains a set of statements. I need to call the same function for another text box's focus out function. How can i trigger like that? Please help me out Thanks in advance

Upvotes: 0

Views: 1427

Answers (1)

tmuecksch
tmuecksch

Reputation: 6652

This should help you out:

$("#myTextBox").trigger("focusout");

Upvotes: 2

Related Questions