1.

Write an event for a menu with id ‘menu’ to show its submenu with id ‘submenu’ on mouseover?

Answer»

Any event handlers attached with .on() or one of its shortcut methods are triggered when the corresponding event OCCURS.  A call to .trigger() executes the handlers in the same ORDER they would be if the event were triggered NATURALLY by the user.

The following statement is to submit the FIRST form without using the submit() function.

$("form:first").trigger("submit");


Discussion

No Comment Found