Developer Center
attachEvent Method
 
Description
This method attaches the specified handler function to the specified event.
 
Arguments
This method accepts the following arguments:
eventName
String value. Required.
The name of the event to which the specified handler will be attached.
handler
String or function reference. Required.
The handler to be called when the specified event is fired. Note that this handler will always be called in the global context.
 
Syntax
The following code sample illustrates how this method can be invoked:
TVS = new TruveoVideoSearch(appid);
...
TVS.attachEvent(eventName, handler);
 
Return Value
This method returns true if the handler was successfully attached.
 
Response Data Objects
This method does not update any data objects.
 
Events
This method does not fire any events.
 
Errors
This method does not throw any errors.
Help Company Info Developer Resources Video Publisher Resources
Building Queries About Truveo Developer Center Truveo Director Accounts
Basic Searching Press Truveo API Overview Submitting A Feed Using Media RSS
Using Modifiers Team XML API Director Account FAQ
Using Filters Jobs AJAX API  
Using Sorters Contact Us Flash API  
Advanced Searching Terms of Use Ruby API  
  Privacy Policy Application Gallery  
  Adult FAQ    

Truveo video search lets you search and find videos from across the Web. Use Truveo to find all types of online video including hit television shows, full-length movies, breaking news clips, sports highlights, music videos, or the latest viral videos. If you are looking for a specific video, Truveo video search can help you find exactly the video you want. Truveo can also help you browse through video across the web and discover new videos that you might like.

©2004-2009 Truveo, Inc. All Rights Reserved.