Hello!

My question is described in the tittle. How can I add my html code
(with js onclick) to the search result which is in a custom selected
div? If I add like this the result is blank.
Is there a function to add directly html content to the result's
container?

App.prototype.OnSearchComplete = function(sc, searcher) {
         document.getElementById("mySearchResultsDiv").innerHTML += '<div
id="myDivToSearchResults"></div>';
}

Thanks for the replies.
John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to